|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
edu.wis.jtlv.lib.AlgRunnerThread
public class AlgRunnerThread
A runner thread to execute any kind of algorithm, which implemented the AlgI scheme.
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 | |
---|---|
AlgRunnerThread(AlgI algorithm)
A constructor for an algorithm runner. |
Method Summary | |
---|---|
AlgExceptionI |
getDoException()
Getter for the main run phase exception. |
AlgResultI |
getDoResult()
Getter for the main run phase results. |
AlgExceptionI |
getPostException()
Getter for the post-run phase exception. |
AlgResultI |
getPostResult()
Getter for the post-run phase results. |
AlgExceptionI |
getPreException()
Getter for the pre-run phase exception. |
AlgResultI |
getPreResult()
Getter for the pre-run phase results. |
void |
run()
NOTE that when not using the sequential mode, the user should take care of BDD synchronization issue - see the following link for more details JTLVThread |
void |
runSequential()
Execute in sequential mode. NOTE that when not using the sequential mode, the user should take care of BDD synchronization issue - see the following link for more details JTLVThread |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AlgRunnerThread(AlgI algorithm)
A constructor for an algorithm runner.
algorithm
- The algorithm which this runner will perform.Method Detail |
---|
public void run()
NOTE that when not using the sequential mode, the user should take
care of BDD synchronization issue - see the following link for more
details JTLVThread
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Thread.run()
,
runSequential()
public void runSequential()
Execute in sequential mode.
NOTE that when not using the sequential mode, the user should take
care of BDD synchronization issue - see the following link for more
details JTLVThread
public AlgResultI getPreResult()
Getter for the pre-run phase results.
public AlgResultI getDoResult()
Getter for the main run phase results.
public AlgResultI getPostResult()
Getter for the post-run phase results.
public AlgExceptionI getPreException()
Getter for the pre-run phase exception.
public AlgExceptionI getDoException()
Getter for the main run phase exception.
public AlgExceptionI getPostException()
Getter for the post-run phase exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |