public class NodesHotThreadsRequest extends NodesOperationRequest<NodesHotThreadsRequest>
TransportRequest.Empty
ALL_NODES
Constructor and Description |
---|
NodesHotThreadsRequest(String... nodesIds)
Get hot threads from nodes based on the nodes ids specified.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ignoreIdleThreads() |
NodesHotThreadsRequest |
ignoreIdleThreads(boolean ignoreIdleThreads) |
TimeValue |
interval() |
NodesHotThreadsRequest |
interval(TimeValue interval) |
void |
readFrom(StreamInput in) |
int |
snapshots() |
NodesHotThreadsRequest |
snapshots(int snapshots) |
int |
threads() |
NodesHotThreadsRequest |
threads(int threads) |
String |
type() |
NodesHotThreadsRequest |
type(String type) |
void |
writeTo(StreamOutput out) |
nodesIds, nodesIds, timeout, timeout, timeout, validate
listenerThreaded, listenerThreaded
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public NodesHotThreadsRequest(String... nodesIds)
public int threads()
public NodesHotThreadsRequest threads(int threads)
public boolean ignoreIdleThreads()
public NodesHotThreadsRequest ignoreIdleThreads(boolean ignoreIdleThreads)
public NodesHotThreadsRequest type(String type)
public String type()
public NodesHotThreadsRequest interval(TimeValue interval)
public TimeValue interval()
public int snapshots()
public NodesHotThreadsRequest snapshots(int snapshots)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class NodesOperationRequest<NodesHotThreadsRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class NodesOperationRequest<NodesHotThreadsRequest>
IOException
Copyright © 2009–2015. All rights reserved.