org.d_haven.event.impl
Class NullDequeueInterceptor
java.lang.Object
org.d_haven.event.impl.NullDequeueInterceptor
- All Implemented Interfaces:
- DequeueInterceptor
public final class NullDequeueInterceptor
- extends java.lang.Object
- implements DequeueInterceptor
The dequeue executable interface describes operations that are
executed before and after elements are pulled from a queue.
- Version:
- $Revision: 1.4 $
- Author:
- schierma, Berin Loritsch
Method Summary |
void |
after(Source context)
An operation executed after dequeing events from the queue. |
void |
before(Source context)
An operation executed before dequeing events from the queue. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NullDequeueInterceptor
public NullDequeueInterceptor()
before
public void before(Source context)
- An operation executed before dequeing events from the queue. The
size of the queue is passed in so the implementation can
determine to execute based on the size of the queue.
- Specified by:
before
in interface DequeueInterceptor
- Parameters:
context
- The source from which the dequeue is performed.- Since:
- Feb 10, 2003
after
public void after(Source context)
- An operation executed after dequeing events from the queue. The
size of the queue is passed in so the implementation can
determine to execute based on the size of the queue.
- Specified by:
after
in interface DequeueInterceptor
- Parameters:
context
- The source from which the dequeue is performed.- Since:
- Feb 10, 2003
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object