C# Class Akka.Cluster.PerformanceCounterMetricsCollector

Loads Windows system metrics through Windows Performance Counters
Inheritance: IMetricsCollector
Afficher le fichier Open project: rogeralsing/akka.net

Méthodes publiques

Méthode Description
ClrProcessMemoryUsed ( ) : Metric

Gets the amount of memory used by this particular CLR process. Creates a new instance each time.

Dispose ( ) : void
Metrics ( ) : ImmutableHashSet
PerformanceCounterMetricsCollector ( ActorSystem system ) : System

This constructor is used when creating an instance from configured fully-qualified name

PerformanceCounterMetricsCollector ( Akka.Actor.Address address, double decayFactor ) : System
Processors ( ) : Metric

Returns the number of available processors. Creates a new instance each time.

Sample ( ) : NodeMetrics

Samples and collects new data points. Create a new instance each time.

SystemLoadAverage ( ) : Metric

Returns the system load average. Creates a new instance each time.

SystemMaxMemory ( ) : Metric

Gets the total amount of system memory. Creates a new instance each time.

SystemMemoryAvailable ( ) : Metric

Gets the amount of system memory available. Creates a new instance each time.

Private Methods

Méthode Description
GetVbTotalPhysicalMemory ( ) : double
PerformanceCounterMetricsCollector ( Cluster cluster ) : System

Method Details

ClrProcessMemoryUsed() public méthode

Gets the amount of memory used by this particular CLR process. Creates a new instance each time.
public ClrProcessMemoryUsed ( ) : Metric
Résultat Metric

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Metrics() public méthode

public Metrics ( ) : ImmutableHashSet
Résultat ImmutableHashSet

PerformanceCounterMetricsCollector() public méthode

This constructor is used when creating an instance from configured fully-qualified name
public PerformanceCounterMetricsCollector ( ActorSystem system ) : System
system ActorSystem
Résultat System

PerformanceCounterMetricsCollector() public méthode

public PerformanceCounterMetricsCollector ( Akka.Actor.Address address, double decayFactor ) : System
address Akka.Actor.Address
decayFactor double
Résultat System

Processors() public méthode

Returns the number of available processors. Creates a new instance each time.
public Processors ( ) : Metric
Résultat Metric

Sample() public méthode

Samples and collects new data points. Create a new instance each time.
public Sample ( ) : NodeMetrics
Résultat NodeMetrics

SystemLoadAverage() public méthode

Returns the system load average. Creates a new instance each time.
public SystemLoadAverage ( ) : Metric
Résultat Metric

SystemMaxMemory() public méthode

Gets the total amount of system memory. Creates a new instance each time.
public SystemMaxMemory ( ) : Metric
Résultat Metric

SystemMemoryAvailable() public méthode

Gets the amount of system memory available. Creates a new instance each time.
public SystemMemoryAvailable ( ) : Metric
Résultat Metric