org.elasticsearch.action.admin.cluster.node.hotthreads
Class NodesHotThreadsRequest

java.lang.Object
  extended by org.elasticsearch.action.support.nodes.NodesOperationRequest
      extended by org.elasticsearch.action.admin.cluster.node.hotthreads.NodesHotThreadsRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class NodesHotThreadsRequest
extends NodesOperationRequest


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.nodes.NodesOperationRequest
ALL_NODES
 
Constructor Summary
NodesHotThreadsRequest(String... nodesIds)
          Get hot threads from nodes based on the nodes ids specified.
 
Method Summary
 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)
           
 
Methods inherited from class org.elasticsearch.action.support.nodes.NodesOperationRequest
listenerThreaded, listenerThreaded, nodesIds, nodesIds, timeout, timeout, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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.