|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.unima.alcomox.util.ThreadTimer
public class ThreadTimer
Constructor Summary | |
---|---|
ThreadTimer(java.lang.Thread thread,
long intervalInMilliSeconds)
Constructor for a thread. |
Method Summary | |
---|---|
void |
setConcurrentExecution(boolean concurrentExecution)
Disable the concurrent execution of the "own" thread and the regular application thread. |
void |
start()
Method to start the timer, which will kill the thread after a specified period of time if no result deliviered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadTimer(java.lang.Thread thread, long intervalInMilliSeconds)
thread
- intervalInMilliSeconds
- Method Detail |
---|
public void start()
public void setConcurrentExecution(boolean concurrentExecution)
concurrentExecution
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |