More information:

Class SinkCloggedEvent

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:

Field Summary
 QueueElementIF element
          The element which clogged.
 SinkIF sink
          The sink which clogged.
Constructor Summary
SinkCloggedEvent(SinkIF sink, QueueElementIF element)
          Create a new SinkCloggedEvent with the given sink and element.
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public SinkIF sink
The sink which clogged.


public QueueElementIF element
The element which clogged.
Constructor Detail


public SinkCloggedEvent(SinkIF sink,
                        QueueElementIF element)
Create a new SinkCloggedEvent with the given sink and element.

More information: