Class DefaultCollector
Metrics collector that is used by default
Inherited Members
Namespace: Akka.Cluster.Metrics.Collectors
Assembly: Akka.Cluster.Metrics.dll
Syntax
public class DefaultCollector : IMetricsCollector, IDisposable
Constructors
| Edit this page View SourceDefaultCollector(ActorSystem)
Declaration
public DefaultCollector(ActorSystem system)
Parameters
| Type | Name | Description |
|---|---|---|
| ActorSystem | system |
DefaultCollector(Address)
Declaration
public DefaultCollector(Address address)
Parameters
| Type | Name | Description |
|---|---|---|
| Address | address |
Methods
| Edit this page View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
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 |
Edit this page