Package org.apache.pekko.cluster.metrics
Interface MetricsSelector
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CapacityMetricsSelector,CpuMetricsSelector$,HeapMetricsSelector$,MixMetricsSelector,MixMetricsSelector$,MixMetricsSelectorBase,SystemLoadAverageMetricsSelector$
A MetricsSelector is responsible for producing weights from the node metrics.
-
Method Summary
Modifier and TypeMethodDescriptionweights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics) The weights per address, based on the nodeMetrics.
-
Method Details
-
weights
scala.collection.immutable.Map<Address,Object> weights(scala.collection.immutable.Set<NodeMetrics> nodeMetrics) The weights per address, based on the nodeMetrics.
-