More information: http://www.cs.berkeley.edu/~mdw/proj/seda/

seda.sandStorm.api
Class SinkDrainedEvent

java.lang.Object
  |
  +--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.

Author:
Matt Welsh

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.
 
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.

More information: http://www.cs.berkeley.edu/~mdw/proj/seda/