Search Results for

    Show / Hide Table of Contents

    Class DefaultCollector

    Metrics collector that is used by default

    Inheritance
    object
    DefaultCollector
    Implements
    IMetricsCollector
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Cluster.Metrics.Collectors
    Assembly: Akka.Cluster.Metrics.dll
    Syntax
    public class DefaultCollector : IMetricsCollector, IDisposable

    Constructors

    | Edit this page View Source

    DefaultCollector(ActorSystem)

    Declaration
    public DefaultCollector(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system
    | Edit this page View Source

    DefaultCollector(Address)

    Declaration
    public DefaultCollector(Address address)
    Parameters
    Type Name Description
    Address address

    Methods

    | Edit this page View Source

    Dispose()

    Declaration
    public void Dispose()
    | Edit this page View Source

    Sample()

    Samples and collects new data points. This method is invoked periodically and should return current metrics for this node.

    Declaration
    public NodeMetrics Sample()
    Returns
    Type Description
    NodeMetrics

    Implements

    IMetricsCollector
    IDisposable

    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