Interface IMetricsSelector
A MetricsSelector is responsible for producing weights from the node metrics.
Namespace: Akka.Cluster.Metrics
Assembly: Akka.Cluster.Metrics.dll
Syntax
public interface IMetricsSelector
Methods
| Edit this page View SourceWeights(IImmutableSet<NodeMetrics>)
The weights per address, based on the nodeMetrics.
Declaration
IImmutableDictionary<Address, int> Weights(IImmutableSet<NodeMetrics> nodeMetrics)
Parameters
Type | Name | Description |
---|---|---|
IImmutableSet<NodeMetrics> | nodeMetrics |
Returns
Type | Description |
---|---|
IImmutableDictionary<Address, int> |