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

org.objectweb.celtix.workqueue.AutomaticWorkQueue Maven / Gradle / Ivy

The newest version!
package org.objectweb.celtix.workqueue;

public interface AutomaticWorkQueue extends WorkQueue {
    /**
     * Initiates an orderly shutdown. 
     * If processRemainingWorkItems
     * is true, waits for all active items to finish execution before returning, otherwise returns 
     * immediately after removing all non active items from the queue.
     * 
     * @param processRemainingWorkItems
     */
    void shutdown(boolean processRemainingWorkItems);
    
    /**
     * Returns true if this object has been shut down.
     * @return true if this object has been shut down.
     */
    boolean isShutdown();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy