org.logicalcobwebs.concurrent
Class FJTaskRunnerGroup.InvokableFJTask
java.lang.Object
org.logicalcobwebs.concurrent.FJTask
org.logicalcobwebs.concurrent.FJTaskRunnerGroup.InvokableFJTask
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- FJTaskRunnerGroup
protected static final class FJTaskRunnerGroup.InvokableFJTask
- extends FJTask
Wrap wait/notify mechanics around a task so that
invoke() can wait it out
Methods inherited from class org.logicalcobwebs.concurrent.FJTask |
cancel, coInvoke, coInvoke, fork, getFJTaskRunner, getFJTaskRunnerGroup, invoke, isDone, join, par, par, reset, seq, seq, setDone, start, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wrapped
protected final java.lang.Runnable wrapped
terminated
protected boolean terminated
FJTaskRunnerGroup.InvokableFJTask
protected FJTaskRunnerGroup.InvokableFJTask(java.lang.Runnable r)
run
public void run()
setTerminated
protected void setTerminated()
awaitTermination
protected void awaitTermination()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException