Package akka.cluster.metrics
Interface MetricsSelector
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
CapacityMetricsSelector
,CpuMetricsSelector$
,HeapMetricsSelector$
,MixMetricsSelector
,MixMetricsSelector$
,MixMetricsSelectorBase
,SystemLoadAverageMetricsSelector$
public interface MetricsSelector extends java.io.Serializable
A MetricsSelector is responsible for producing weights from the node metrics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.collection.immutable.Map<Address,java.lang.Object>
weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
The weights per address, based on the nodeMetrics.
-
-
-
Method Detail
-
weights
scala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics)
The weights per address, based on the nodeMetrics.
-
-