Module org.elasticsearch.server
Package org.elasticsearch.cluster
Interface EstimatedHeapUsageCollector
public interface EstimatedHeapUsageCollector
Collect the estimated heap usage for each node in the cluster.
Results are returned as a map of node ID to estimated heap usage in bytes
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EstimatedHeapUsageCollectorThis will be used when there is no EstimatedHeapUsageCollector available -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectClusterHeapUsage(ActionListener<Map<String, Long>> listener) Collect the estimated heap usage for every node in the cluster
-
Field Details
-
EMPTY
This will be used when there is no EstimatedHeapUsageCollector available
-
-
Method Details
-
collectClusterHeapUsage
Collect the estimated heap usage for every node in the cluster- Parameters:
listener- The listener which will receive the results
-