|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StopWatchMBean
Provides a standard MBean to use when administering a StopWatch using JMX
| Method Summary | |
|---|---|
long |
getStartTime()
Getter for property startTime |
void |
setElapsedTime(long elapsed)
Sets the elapsed time of the measured interval |
void |
setElapsedTime(long elapsed,
long now)
Sets the elapsed time of the measured interval |
void |
setStartTime(long startTime)
Setter for property startTime |
void |
startTiming()
Start the timing for the watch |
void |
stopTiming()
Stop the timing for the watch |
| 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 |
|---|
void startTiming()
void stopTiming()
void setElapsedTime(long elapsed)
elapsed - milliseconds of elapsed time
void setElapsedTime(long elapsed,
long now)
elapsed - milliseconds of elapsed timenow - the current time in milliseconcds since the epoch.long getStartTime()
void setStartTime(long startTime)
startTime - New value of property startTime.
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||