Package org.apache.pekko.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.SerializableA MetricsSelector is responsible for producing weights from the node metrics.
- 
- 
Method SummaryAll 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- 
weightsscala.collection.immutable.Map<Address,java.lang.Object> weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics) The weights per address, based on the nodeMetrics.
 
- 
 
-