|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread com.atlassian.bamboo.utils.Timer com.atlassian.bamboo.builder.BuildTimeoutKiller
public class BuildTimeoutKiller
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
BuildTimeoutKiller(java.lang.Thread targetThread,
long timeoutInMilliseconds)
Kill the targetThread if it is still running after timeoutInMilliseconds has elapsed. |
Method Summary | |
---|---|
void |
onTimeout()
This callback is triggered if the timer times-out |
Methods inherited from class com.atlassian.bamboo.utils.Timer |
---|
cancel, restart, run, start |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuildTimeoutKiller(java.lang.Thread targetThread, long timeoutInMilliseconds)
targetThread
- A thread to watchtimeoutInMilliseconds
- The length of the timeoutMethod Detail |
---|
public void onTimeout()
Timer
onTimeout
in class Timer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |