Class MixMetricsSelectorBase
Base class for IMetricsSelector that combines other selectors and aggregates their capacity.
Inheritance
MixMetricsSelectorBase
Assembly: Akka.Cluster.Metrics.dll
Syntax
public abstract class MixMetricsSelectorBase : CapacityMetricsSelector, IMetricsSelector
Constructors
|
Improve this Doc
View Source
MixMetricsSelectorBase(ImmutableArray<CapacityMetricsSelector>)
Declaration
protected MixMetricsSelectorBase(ImmutableArray<CapacityMetricsSelector> selectors)
Parameters
Properties
|
Improve this Doc
View Source
Selectors
Declaration
public ImmutableArray<CapacityMetricsSelector> Selectors { get; }
Property Value
Methods
|
Improve this Doc
View Source
Capacity(IImmutableSet<NodeMetrics>)
Remaining capacity for each node. The value is between 0.0 and 1.0, where 0.0 means no remaining capacity
(full utilization) and 1.0 means full remaining capacity (zero utilization).
Declaration
public override IImmutableDictionary<Address, double> Capacity(IImmutableSet<NodeMetrics> nodeMetrics)
Parameters
Type |
Name |
Description |
System.Collections.Immutable.IImmutableSet<NodeMetrics> |
nodeMetrics |
|
Returns
Type |
Description |
System.Collections.Immutable.IImmutableDictionary<Address, Double> |
|
Overrides
Implements
Extension Methods