Package com.ibm.websphere.monitor.jmx
Class CounterReading
java.lang.Object
com.ibm.websphere.monitor.jmx.CounterReading
Represents a snapshot of a
Counter
. A CounterReading holds the current value of the Counter at the time
it was obtained and will not change.-
Constructor Summary
ConstructorDescriptionCounterReading
(long timestamp, long count, String unit) Constructor used during construction of proxy objects for MXBeans. -
Method Summary
-
Constructor Details
-
CounterReading
@ConstructorProperties({"timestamp","count","unit"}) public CounterReading(long timestamp, long count, String unit) Constructor used during construction of proxy objects for MXBeans.
-
-
Method Details
-
getTimestamp
public long getTimestamp()- Returns:
- timestamp of the counter reading
-
getCount
public long getCount()- Returns:
- counter value at time of snapshot
-
getUnit
- Returns:
- unit of measurement of the counter
-