Class TaskRegister

java.lang.Object
org.jbrew.concurrent.TaskRegister
All Implemented Interfaces:
TaskRegistry

public class TaskRegister
extends java.lang.Object
implements TaskRegistry
  • Constructor Summary

    Constructors 
    Constructor Description
    TaskRegister()  
  • Method Summary

    Modifier and Type Method Description
    int getRegistrySize()  
    void interruptAll()  
    void offerTask​(Task<?> task)
    Inserts the specified element into this TaskRegistry.
    Task<?> pollTask()  
    void removeTask​(Task<?> task)
    Removes a single instance of the specified Task from this TaskRegistry, if it is present.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait