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
| Improve this Doc View SourceWeights(IImmutableSet<NodeMetrics>)
The weights per address, based on the nodeMetrics.
Declaration
IImmutableDictionary<Address, int> Weights(IImmutableSet<NodeMetrics> nodeMetrics)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Immutable.IImmutableSet<NodeMetrics> | nodeMetrics |
Returns
Type | Description |
---|---|
System.Collections.Immutable.IImmutableDictionary<Address, Int32> |