|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CounterWatchMBean
Provides a standard MBean to use when administering a CounterWatch using JMX
| Method Summary | |
|---|---|
void |
decrement()
Decrement the count by one |
void |
decrement(long value)
Decrement the count |
long |
getCounter()
Getter for property counter |
void |
increment()
Increment the count by one |
void |
increment(long value)
Increment the count |
void |
setCounter(long counter)
Setter for property counter |
| Methods inherited from interface org.rioproject.watch.ThresholdWatchMBean |
|---|
getBreachedCount, getClearedCount, getCurrentHighThreshold, getCurrentLowThreshold, getHighThreshold, getLowThreshold, setCurrentHighThreshold, setCurrentLowThreshold |
| Methods inherited from interface org.rioproject.watch.WatchMBean |
|---|
clear, getCalculables, getId, getLastCalculableValue |
| Method Detail |
|---|
long getCounter()
void setCounter(long counter)
counter - New value of property counter.void increment()
void increment(long value)
value - the amount to increment the countervoid decrement()
void decrement(long value)
value - the amount to decrement the counter
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||