C# Class Akka.Cluster.Metric

Metrics key/value Equality of metric based on its name
Inheritance: MetricNumericConverter
Afficher le fichier Open project: rogeralsing/akka.net Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string name, double value, double decayFactor = null ) : Metric

Creates a new Metric instance if value is valid, otherwise returns null. Invalid numeric values are negative and NaN/Infinite.

CreateEWMA ( double value, double decayFactor = null ) : EWMA
Equals ( object obj ) : bool
GetHashCode ( ) : int
Metric ( string name, double value, EWMA average = null ) : System
operator ( ) : Metric

Private Methods

Méthode Description
Equals ( Metric other ) : bool

Method Details

Create() public static méthode

Creates a new Metric instance if value is valid, otherwise returns null. Invalid numeric values are negative and NaN/Infinite.
public static Create ( string name, double value, double decayFactor = null ) : Metric
name string
value double
decayFactor double
Résultat Metric

CreateEWMA() public static méthode

public static CreateEWMA ( double value, double decayFactor = null ) : EWMA
value double
decayFactor double
Résultat EWMA

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Metric() public méthode

public Metric ( string name, double value, EWMA average = null ) : System
name string
value double
average EWMA
Résultat System

operator() public static méthode

public static operator ( ) : Metric
Résultat Metric