|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
kieker.analysis.AnalysisControllerThread
public final class AnalysisControllerThread
Allows spawn the execution of an AnalysisController into a separate Thread. The thread with the AnalysisController instance
provided in the constructor AnalysisControllerThread(IAnalysisController) is started by calling the start() method. The analysis can be
terminated by calling the terminate() method which delegates the call to the AnalysisController.terminate() method.
| 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 | |
|---|---|
AnalysisControllerThread(IAnalysisController analysisController)
Creates a new instance of this class using the given parameters. |
|
| Method Summary | |
|---|---|
void |
awaitTermination()
Awaits the termination of the contained AnalysisController. |
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit)
Awaits (with timeout) the termination of the contained AnalysisController. |
void |
run()
|
void |
start()
|
void |
terminate()
Initiates a termination of the executed AnalysisController. |
| 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 AnalysisControllerThread(IAnalysisController analysisController)
analysisController - The analysis controller to be managed by this thread.| Method Detail |
|---|
public void start()
start in class java.lang.Threadpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
public boolean awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
AnalysisController.
timeout - The maximum time to waitunit - The time unit of the timeout.
CountDownLatch.await(long, TimeUnit)
java.lang.InterruptedException - If the current thread has been interrupted while waiting.
public void awaitTermination()
throws java.lang.InterruptedException
AnalysisController.
java.lang.InterruptedException - If the current thread has been interrupted while waiting.public void terminate()
AnalysisController.
|
Kieker 1.11 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||