org.processmining.analysis.performance
Class PerformanceAnalysisMethodExecutionThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.processmining.analysis.performance.PerformanceAnalysisMethodExecutionThread
All Implemented Interfaces:
java.lang.Runnable

public class PerformanceAnalysisMethodExecutionThread
extends java.lang.Thread

Custom thread implementation that executes the given AnalysisMethod and provides those categories with the results that have asked for it. It is required to have the analysis running in a thread.

Author:
Peter T.G. Hornix (p.t.g.hornix@student.tue.nl)

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
PerformanceAnalysisMethodExecutionThread(LogReplayAnalysisMethod method, PerformanceConfiguration conf, PerformanceAnalysisSettings set)
          Creates this thread and initializes its attributes.
 
Method Summary
 void run()
          Executes the given analysis method, provides all registered categories with the results, and informs the settings frame that it is done.
 
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, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PerformanceAnalysisMethodExecutionThread

public PerformanceAnalysisMethodExecutionThread(LogReplayAnalysisMethod method,
                                                PerformanceConfiguration conf,
                                                PerformanceAnalysisSettings set)
Creates this thread and initializes its attributes.

Parameters:
method - the analysis method to be executed in this thread
conf - BottleneckConfiguration: the BottleneckConfiguration-object used
set - PerformanceAnalysisSettings: the PerformanceAnalysisSettings object used
Method Detail

run

public void run()
Executes the given analysis method, provides all registered categories with the results, and informs the settings frame that it is done.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread