Package org.jppf.queue
Interface QueueListener<T,U,V>
- Type Parameters:
T- the type of jobs that are queued.U- the type of bundles the jobs are split into.V- the type of resulting bundles the jobs are split into.
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
QueueListenerAdapter
Queue listener interface.
- Author:
- Domingos Creado, Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionvoidbundleAdded(QueueEvent<T, U, V> event) Notify a listener that a bundle was added to the queue.voidbundleRemoved(QueueEvent<T, U, V> event) Notify a listener that a bundle was removed from the queue.
-
Method Details
-
bundleAdded
Notify a listener that a bundle was added to the queue.- Parameters:
event- a queue event.
-
bundleRemoved
Notify a listener that a bundle was removed from the queue.- Parameters:
event- a queue event.- Since:
- 4.1
-