org.elasticsearch.action.admin.cluster.node.hotthreads
Class NodesHotThreadsRequest
java.lang.Object
org.elasticsearch.action.support.nodes.NodesOperationRequest
org.elasticsearch.action.admin.cluster.node.hotthreads.NodesHotThreadsRequest
- All Implemented Interfaces:
- ActionRequest, Streamable
public class NodesHotThreadsRequest
- extends NodesOperationRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodesHotThreadsRequest
public NodesHotThreadsRequest(String... nodesIds)
- Get hot threads from nodes based on the nodes ids specified. If none are passed, hot
threads for all nodes is used.
threads
public int threads()
threads
public NodesHotThreadsRequest threads(int threads)
type
public NodesHotThreadsRequest type(String type)
type
public String type()
interval
public NodesHotThreadsRequest interval(TimeValue interval)
interval
public TimeValue interval()
snapshots
public int snapshots()
snapshots
public NodesHotThreadsRequest snapshots(int snapshots)
readFrom
public void readFrom(StreamInput in)
throws IOException
- Specified by:
readFrom
in interface Streamable
- Overrides:
readFrom
in class NodesOperationRequest
- Throws:
IOException
writeTo
public void writeTo(StreamOutput out)
throws IOException
- Specified by:
writeTo
in interface Streamable
- Overrides:
writeTo
in class NodesOperationRequest
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.