Module org.elasticsearch.server
Package org.elasticsearch.cluster
Class NodeUsageStatsForThreadPoolsCollector
java.lang.Object
org.elasticsearch.cluster.NodeUsageStatsForThreadPoolsCollector
Collects the thread pool usage stats for each node in the cluster.
Results are returned as a map of node ID to node usage stats.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectUsageStats(Client client, ClusterState clusterState, ActionListener<Map<String, NodeUsageStatsForThreadPools>> listener) Collects the thread pool usage stats (NodeUsageStatsForThreadPools) for each node in the cluster.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
NodeUsageStatsForThreadPoolsCollector
public NodeUsageStatsForThreadPoolsCollector()
-
-
Method Details
-
collectUsageStats
public void collectUsageStats(Client client, ClusterState clusterState, ActionListener<Map<String, NodeUsageStatsForThreadPools>> listener) Collects the thread pool usage stats (NodeUsageStatsForThreadPools) for each node in the cluster.- Parameters:
listener- The listener to receive the usage results.
-