|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWatchDog
Method Summary | |
---|---|
int |
getTimeoutCount()
get the number of times a timeout condition has been encountered. |
void |
handleTimeout(long elapsedTime)
handleTimeout() is called whenever a timeout condition is encountered. |
void |
restartTimer()
Stops the current timer and starts another. |
void |
setName(String name)
Sets the watchDog's name. |
void |
setTimeout(int timeout)
Set the length of time a timer will wait before the timeout condition occurs |
void |
start()
starts the watchdog thread |
boolean |
startTimer()
Start a timer. |
void |
stop()
stops the watchdog thread |
boolean |
stopTimer()
Stops the current timer. |
Method Detail |
---|
void setName(String name)
name
- void setTimeout(int timeout)
timeout
- millisecondsboolean startTimer()
If the current value of the timeOut elapses before this timer is stopped the watchdog will increment the timeoutCount and call reportTimeout()
boolean stopTimer()
void restartTimer()
void handleTimeout(long elapsedTime)
elapsedTime
- the length of time after the startTimer() when the timeout was detected.int getTimeoutCount()
void start()
void stop()
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |