public class NodesHotThreadsRequest extends BaseNodesRequest<NodesHotThreadsRequest>
TransportRequest.Empty
ALL_NODES
headers
Constructor and Description |
---|
NodesHotThreadsRequest() |
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
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public NodesHotThreadsRequest()
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 BaseNodesRequest<NodesHotThreadsRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BaseNodesRequest<NodesHotThreadsRequest>
IOException
Copyright © 2009–2016. All rights reserved.