seda.sandStorm.api
Class SinkDrainedEvent

java.lang.Object
  extended by seda.sandStorm.api.SinkDrainedEvent
All Implemented Interfaces:
QueueElementIF

public class SinkDrainedEvent
extends java.lang.Object
implements QueueElementIF

This event indicates that a sink element was processed.


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

Field Detail

sink

public SinkIF sink
The sink which was processed.


element

public QueueElementIF element
The element which was processed.

Constructor Detail

SinkDrainedEvent

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