net.anotheria.util.queue.IQueueWorker Maven / Gradle / Ivy
package net.anotheria.util.queue;
/**
* Interface for a worker class whih performs operation on the queue elements.
*
* @author another
* @version $Id: $Id
*/
public interface IQueueWorker {
/**
* Called to perform some work.
*
* @param workingElement a T object.
* @throws java.lang.Exception if any.
*/
void doWork(T workingElement) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy