Trull

edu.luc.cs.trull
Class DefaultScheduler.QueuedRunnable

java.lang.Object
  extended by edu.luc.cs.trull.FastScheduler.WaitableRunnable
      extended by edu.luc.cs.trull.DefaultScheduler.QueuedRunnable
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
DefaultScheduler

private class DefaultScheduler.QueuedRunnable
extends FastScheduler.WaitableRunnable

A wrapper around a runnable that decrements the queue length when the runnable has finished.


Constructor Summary
DefaultScheduler.QueuedRunnable(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
 

Constructor Detail

DefaultScheduler.QueuedRunnable

public DefaultScheduler.QueuedRunnable(java.lang.Runnable task,
                                       EDU.oswego.cs.dl.util.concurrent.Latch done)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class FastScheduler.WaitableRunnable

Trull

http://www.cs.luc.edu/trull/