Provides definitions of the notifications sent by statistic monitor MBeans. Used for JDK version greater than 1.5.
The notification source and a set of parameters concerning the statistic monitor MBean's state need to be specified when creating a new object of this class. The list of notifications fired by the statistic monitor MBeans is the following:
Common to all kind of monitors:
The observed object is not registered in the MBean server.
The observed attribute is not contained in the observed object.
The type of the observed attribute is not correct.
Any exception (except the cases described above) occurs when trying to get the value of the observed attribute.
Common to the counter and the gauge statistic monitors:
The threshold high or threshold low are not of the same type as the gauge (gauge monitors).
The threshold or the offset or the modulus are not of the same type as the counter (counter statistic monitors).
CounterStatistic monitors only:
The observed attribute has reached the threshold value.
GaugeStatistic monitors only:
The observed attribute has exceeded the threshold high value.
The observed attribute has exceeded the threshold low value.
StringStatistic monitors only:
The observed attribute has matched the "string to compare" value.
The observed attribute has differed from the "string to compare" value.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.