Search Results for

    Show / Hide Table of Contents

    Class MixMetricsSelectorBase

    Base class for IMetricsSelector that combines other selectors and aggregates their capacity.

    Inheritance
    object
    CapacityMetricsSelector
    MixMetricsSelectorBase
    MixMetricsSelector
    Implements
    IMetricsSelector
    Inherited Members
    CapacityMetricsSelector.Weights(IImmutableDictionary<Address, double>)
    CapacityMetricsSelector.Weights(IImmutableSet<NodeMetrics>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Cluster.Metrics
    Assembly: Akka.Cluster.Metrics.dll
    Syntax
    public abstract class MixMetricsSelectorBase : CapacityMetricsSelector, IMetricsSelector

    Constructors

    | Edit this page View Source

    MixMetricsSelectorBase(ImmutableArray<CapacityMetricsSelector>)

    Declaration
    protected MixMetricsSelectorBase(ImmutableArray<CapacityMetricsSelector> selectors)
    Parameters
    Type Name Description
    ImmutableArray<CapacityMetricsSelector> selectors

    Properties

    | Edit this page View Source

    Selectors

    Selectors

    Declaration
    public ImmutableArray<CapacityMetricsSelector> Selectors { get; }
    Property Value
    Type Description
    ImmutableArray<CapacityMetricsSelector>

    Methods

    | Edit this page 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
    IImmutableSet<NodeMetrics> nodeMetrics
    Returns
    Type Description
    IImmutableDictionary<Address, double>
    Overrides
    CapacityMetricsSelector.Capacity(IImmutableSet<NodeMetrics>)

    Implements

    IMetricsSelector

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET