|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetricNumericConverter
INTERNAL API
Encapsulates evaluation of validity of metric values, conversion of an actual metric value to
a Metric
for consumption by subscribed cluster entities.
Method Summary | |
---|---|
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 |
---|
boolean defined(java.lang.Number value)
value
- (undocumented)
scala.util.Either<java.lang.Object,java.lang.Object> convertNumber(java.lang.Object from)
from
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |