Search Results for

    Show / Hide Table of Contents

    Class MemoryMetricsSelector

    MetricsSelector that uses the memory metrics. Less memory available => small weight.

    Inheritance
    object
    CapacityMetricsSelector
    MemoryMetricsSelector
    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 class MemoryMetricsSelector : CapacityMetricsSelector, IMetricsSelector

    Fields

    | Edit this page View Source

    Instance

    Singleton instance

    Declaration
    public static readonly MemoryMetricsSelector Instance
    Field Value
    Type Description
    MemoryMetricsSelector

    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