-
Bug
-
Resolution: Fixed
-
P4
-
6
-
None
-
b43
-
generic
-
generic
Wrong getThreshold value in CounterMonitor with offset, threshold and modulus.
I have a counter with an initThreshold of 1, an offset of 1 and a modulus of 5,
running in counter mode (not differencing). Over time it has reached a state
where the current value is 4 and the threshhold has bumped to 5.
If I then set the observed attribute to the value 5, a notification is
generated (cool) and in JDK1.5 the threshold is raised to 6. If I then
set it to 6, I get another value and the threshold is raised to 7.
How can the value of the threshold be greater than the modulus?
###@###.### 2005-2-15 15:14:53 GMT
I have a counter with an initThreshold of 1, an offset of 1 and a modulus of 5,
running in counter mode (not differencing). Over time it has reached a state
where the current value is 4 and the threshhold has bumped to 5.
If I then set the observed attribute to the value 5, a notification is
generated (cool) and in JDK1.5 the threshold is raised to 6. If I then
set it to 6, I get another value and the threshold is raised to 7.
How can the value of the threshold be greater than the modulus?
###@###.### 2005-2-15 15:14:53 GMT