Package akka.cluster.metrics
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeMetrics
sample()
Samples and collects new data points.
-
-
-
Method Detail
-
sample
NodeMetrics sample()
Samples and collects new data points. This method is invoked periodically and should return current metrics for this node.
-
-