All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nyla.solutions.global.patterns.workthread.WorkQueue Maven / Gradle / Ivy

Go to download

Nyla Solutions Global Java API provides support for basic application utilities (application configuration, data encryption, debugger and text processing).

The newest version!
package nyla.solutions.global.patterns.workthread;

public interface WorkQueue
{
   /**
    * 
    * @return next task
    */
    public Runnable nextTask();
    
    
    /**
     * 
     * @return true if there are more tasks in the queue
     */
    public boolean hasMoreTasks();
    
    /**
     * 
     * @return size of queue
     */
    public int size();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy