Interface MetricsCollector

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
JmxMetricsCollector, SigarMetricsCollector

public interface MetricsCollector extends Closeable
Metrics sampler.

Implementations of cluster system metrics collectors extend this trait.

  • Method Summary

    Modifier and Type
    Method
    Description
    Samples and collects new data points.

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • sample

      NodeMetrics sample()
      Samples and collects new data points. This method is invoked periodically and should return current metrics for this node.