|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.luc.cs.trull.FastScheduler.WaitableRunnable
protected class FastScheduler.WaitableRunnable
A wrapper around a Runnable that releases a latch when the Runnable has finished.
| Field Summary | |
|---|---|
private EDU.oswego.cs.dl.util.concurrent.Latch |
done
|
private java.lang.Runnable |
task
|
| Constructor Summary | |
|---|---|
FastScheduler.WaitableRunnable(java.lang.Runnable task,
EDU.oswego.cs.dl.util.concurrent.Latch done)
|
|
| Method Summary | |
|---|---|
void |
run()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private EDU.oswego.cs.dl.util.concurrent.Latch done
private java.lang.Runnable task
| Constructor Detail |
|---|
public FastScheduler.WaitableRunnable(java.lang.Runnable task,
EDU.oswego.cs.dl.util.concurrent.Latch done)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnable
|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||