|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.syrup.test.PureFunctionsRun
Takes a Workflow from stdin that should only contain pure Tasks and executes the Workflow by multiple Workers. The final state of the WorkSpace (when there are no more executable Tasks) is send to stdout. The number of Workers can be optionally specified by the first argument (defaults to 2).
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
PureFunctionsRun()
|
Method Summary | |
java.lang.Exception |
getException()
|
static void |
main(java.lang.String[] args)
|
static void |
operate(java.lang.String[] args,
java.io.InputStream in,
java.io.OutputStream out)
|
void |
run()
|
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 |
public PureFunctionsRun()
Method Detail |
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void operate(java.lang.String[] args, java.io.InputStream in, java.io.OutputStream out) throws java.lang.Exception
java.lang.Exception
public void run()
public java.lang.Exception getException()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |