All Implemented Interfaces:
Writeable, RefCounted, TaskAwareRequest

public class NodesHotThreadsRequest extends BaseNodesRequest
  • Constructor Details

    • NodesHotThreadsRequest

      public NodesHotThreadsRequest(String[] nodesIds, HotThreads.RequestOptions requestOptions)
      Get hot threads from nodes based on the nodes ids specified. If none are passed, hot threads for all nodes is used.
    • NodesHotThreadsRequest

      public NodesHotThreadsRequest(DiscoveryNode node, HotThreads.RequestOptions requestOptions)
      Get hot threads from the given node, for use if the node isn't a stable member of the cluster.
  • Method Details

    • threads

      public int threads()
    • ignoreIdleThreads

      public boolean ignoreIdleThreads()
    • type

      public HotThreads.ReportType type()
    • sortOrder

      public HotThreads.SortOrder sortOrder()
    • interval

      public TimeValue interval()
    • snapshots

      public int snapshots()