com.addc.commons.queue.EnqueueProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of addc-queues Show documentation
Show all versions of addc-queues Show documentation
The addc-queues library supplies support for internal persistent queues using an optional DERBY database for storage.
The newest version!
package com.addc.commons.queue;
/**
* The EnqueueProcessor defines the contract for pre-processing elements added
* to a {@link BoundedNotifyingQueue}
*
*/
public interface EnqueueProcessor {
/**
* Process the element prior to injection into the queue
*
* @param element
* The element of type E to process
* @return the resulting pre processed element
*/
E preProcess(E element);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy