C# Класс Akka.Cluster.MetricNumericConverter

INTERNAL API Encapsulates evaluation of validity of metric values, conversion of an actual metric value to an Metric for consumption by subscribed cluster entities.
Показать файл Открыть проект

Открытые методы

Метод Описание
ConvertNumber ( object from ) : double

Here in .NET-istan, we're going to use double for all metrics since we don't have convenient base classes for denoting general numeric types like Scala. If a specific metrics method needs an integral data type, it should convert down from double.

Defined ( double value ) : bool

A defined value is greater than zero and not NaN / Infinity

Описание методов

ConvertNumber() публичный статический Метод

Here in .NET-istan, we're going to use double for all metrics since we don't have convenient base classes for denoting general numeric types like Scala. If a specific metrics method needs an integral data type, it should convert down from double.
public static ConvertNumber ( object from ) : double
from object
Результат double

Defined() публичный статический Метод

A defined value is greater than zero and not NaN / Infinity
public static Defined ( double value ) : bool
value double
Результат bool