- All Implemented Interfaces:
- public class SinkCloggedEvent
- extends java.lang.Object
- implements QueueElementIF
This event indicates that a sink was clogged when trying to process
the given element. A sink is considered clogged if it is full (that is,
its length threshold has been reached), or some other condition is
preventing the given element from being serviced.
As opposed to SinkFullException, which is thrown immediately
if attempting to enqueue onto a full sink, SinkCloggedEvent is
pushed to an application if a sink becomes full asynchronously,
or if some other condition caused the sink to become clogged.
- Matt Welsh
- See Also:
|Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SinkIF sink
- The sink which clogged.
public QueueElementIF element
- The element which clogged.
public SinkCloggedEvent(SinkIF sink,
- Create a new SinkCloggedEvent with the given sink and element.