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