public class NodesHotThreadsRequest extends BaseNodesRequest<NodesHotThreadsRequest>
TransportRequest.EmptyALL_NODESheaders| 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, validatecreateTask, getDescriptionremoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic 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 StreamablereadFrom in class BaseNodesRequest<NodesHotThreadsRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BaseNodesRequest<NodesHotThreadsRequest>IOExceptionCopyright © 2009–2017. All rights reserved.