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

public interface QueueListener<T,U,V> extends EventListener
Queue listener interface.
Author:
Domingos Creado, Laurent Cohen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Notify a listener that a bundle was added to the queue.
    void
    Notify a listener that a bundle was removed from the queue.
  • Method Details

    • bundleAdded

      void bundleAdded(QueueEvent<T,U,V> event)
      Notify a listener that a bundle was added to the queue.
      Parameters:
      event - a queue event.
    • bundleRemoved

      void bundleRemoved(QueueEvent<T,U,V> event)
      Notify a listener that a bundle was removed from the queue.
      Parameters:
      event - a queue event.
      Since:
      4.1