public class NodesHotThreadsRequest extends BaseNodesRequest<NodesHotThreadsRequest>
TransportRequest.Empty
Constructor and Description |
---|
NodesHotThreadsRequest() |
NodesHotThreadsRequest(java.lang.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)
Set this object's fields from a StreamInput.
|
int |
snapshots() |
NodesHotThreadsRequest |
snapshots(int snapshots) |
int |
threads() |
NodesHotThreadsRequest |
threads(int threads) |
java.lang.String |
type() |
NodesHotThreadsRequest |
type(java.lang.String type) |
void |
writeTo(StreamOutput out)
Write this object's fields to a StreamOutput.
|
concreteNodes, nodesIds, nodesIds, setConcreteNodes, timeout, timeout, timeout, validate
getShouldStoreResult
createTask, getDescription, getParentTask, setParentTask, setParentTask
remoteAddress, remoteAddress
public NodesHotThreadsRequest()
public NodesHotThreadsRequest(java.lang.String... nodesIds)
public int threads()
public NodesHotThreadsRequest threads(int threads)
public boolean ignoreIdleThreads()
public NodesHotThreadsRequest ignoreIdleThreads(boolean ignoreIdleThreads)
public NodesHotThreadsRequest type(java.lang.String type)
public java.lang.String type()
public NodesHotThreadsRequest interval(TimeValue interval)
public TimeValue interval()
public int snapshots()
public NodesHotThreadsRequest snapshots(int snapshots)
public void readFrom(StreamInput in) throws java.io.IOException
Streamable
readFrom
in interface Streamable
readFrom
in class BaseNodesRequest<NodesHotThreadsRequest>
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
Streamable
writeTo
in interface Streamable
writeTo
in class BaseNodesRequest<NodesHotThreadsRequest>
java.io.IOException