akka.cluster
Interface MetricsCollector
- All Superinterfaces:
- java.io.Closeable
- All Known Implementing Classes:
- JmxMetricsCollector, SigarMetricsCollector
public interface MetricsCollector
- extends java.io.Closeable
Implementations of cluster system metrics extends this trait.
Methods inherited from interface java.io.Closeable |
close |
apply
MetricsCollector apply(ExtendedActorSystem system,
ClusterSettings settings)
sample
NodeMetrics sample()
- Samples and collects new data points.
This method is invoked periodically and should return
current metrics for this node.