Kieker 1.5

kieker.analysis
Class AnalysisControllerThread

java.lang.Object
  extended by java.lang.Thread
      extended by kieker.analysis.AnalysisControllerThread
All Implemented Interfaces:
Runnable

public final class AnalysisControllerThread
extends Thread

Allows spawn the execution of an AnalysisController into a separate Thread. The thread with the AnalysisController instance provided in the constructor AnalysisControllerThread(AnalysisController) 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.

Author:
Andre van Hoorn, Jan Waller

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AnalysisControllerThread(AnalysisController analysisController)
           
 
Method Summary
 void run()
           
 void start()
           
 void terminate()
          Initiates a termination of the executed AnalysisController.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalysisControllerThread

public AnalysisControllerThread(AnalysisController analysisController)
Method Detail

start

public void start()
Overrides:
start in class Thread

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

terminate

public void terminate()
Initiates a termination of the executed AnalysisController.


Kieker 1.5

Copyright 2012 the Kieker Project, http://kieker-monitoring.net