Interface MetricsCollector

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable
    All Known Implementing Classes:
    JmxMetricsCollector, SigarMetricsCollector

    public interface MetricsCollector
    extends java.io.Closeable
    Metrics sampler.

    Implementations of cluster system metrics collectors extend this trait.

    • Method Detail

      • sample

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