An interface representing a numerical statistic about a system or application. A statistic should be idempotent. That is it should not matter how often the getValue
method is called, it should always produce the "right" value. The act of reading the statistic should not affect the value. Therefore this interface does not support a "how many since last read" type of statistic. Instead a rate of change statistic should either be implemented by actually monitoring the value over time, or externally by the statistic's client.
The value can be either "live" (collected at the moment of the call) or cached (for example, if the value is read only periodically). If
@author John Cooke
|
|
|
|