Package akka.cluster.metrics
Interface MetricNumericConverter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.util.Either<java.lang.Object,java.lang.Object>
convertNumber(java.lang.Object from)
May involve rounding or truncation.boolean
defined(java.lang.Number value)
An defined value is neither negative nor NaN/Infinite: JMX system load average and max heap can be 'undefined' for certain OS, in which case a -1 is returned SIGAR combined CPU can occasionally return a NaN or Infinite (known bug)
-
-
-
Method Detail
-
convertNumber
scala.util.Either<java.lang.Object,java.lang.Object> convertNumber(java.lang.Object from)
May involve rounding or truncation.
-
defined
boolean defined(java.lang.Number value)
An defined value is neither negative nor NaN/Infinite:- JMX system load average and max heap can be 'undefined' for certain OS, in which case a -1 is returned
- SIGAR combined CPU can occasionally return a NaN or Infinite (known bug)
-
-