de.grogra.gpuflux.utils
Class TaskMonitor

java.lang.Object
  extended by java.util.concurrent.Semaphore
      extended by de.grogra.gpuflux.utils.TaskMonitor
All Implemented Interfaces:
java.io.Serializable

public class TaskMonitor
extends java.util.concurrent.Semaphore

See Also:
Serialized Form

Constructor Summary
TaskMonitor()
           
 
Method Summary
 void awaitTasks()
           
 void finishTask()
           
 void startTask()
           
 
Methods inherited from class java.util.concurrent.Semaphore
acquire, acquire, acquireUninterruptibly, acquireUninterruptibly, availablePermits, drainPermits, getQueuedThreads, getQueueLength, hasQueuedThreads, isFair, reducePermits, release, release, toString, tryAcquire, tryAcquire, tryAcquire, tryAcquire
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskMonitor

public TaskMonitor()
Method Detail

awaitTasks

public void awaitTasks()

finishTask

public void finishTask()

startTask

public void startTask()