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 Details

  • Method Details

    • collectClusterHeapUsage

      void collectClusterHeapUsage(ActionListener<Map<String,Long>> listener)
      Collect the estimated heap usage for every node in the cluster
      Parameters:
      listener - The listener which will receive the results
    • collectShardHeapUsage

      void collectShardHeapUsage(ActionListener<ShardHeapUsageEstimates> listener)
      Collects the estimated heap usage for every shard in the cluster.
      Parameters:
      listener - The listener which will receive the results