public interface StringStatistic extends Statistic
CountStatistic
,
the only difference being in the value that is returned. Unlike a CountStatistic
(which always is unidirectional), this Statistic type is not having any
specified direction, simply because there is no natural order. An example
of the values that an instance of this statistic type can assume is: A State
Statistic which can have "CONNECTED, CLOSED, DISCONNECTED" as the permissible
values and the current value can be any one of them (and them only).
The permissible values are upto a particular implementation.Modifier and Type | Method and Description |
---|---|
String |
getCurrent()
Returns the String value of the statistic
|
getDescription, getLastSampleTime, getName, getStartTime, getUnit
String getCurrent()
Copyright © 2017 Oracle. All rights reserved.