org.apache.excalibur.event
Interface DequeueInterceptor
- All Known Implementing Classes:
- NullDequeueInterceptor, TPSPThreadManager.SourceDequeueInterceptor
- public interface DequeueInterceptor
The dequeue executable interface describes operations that are executed before and after elements are pulled from a queue.
- Version:
- $Revision: 1.4 $
- Author:
| 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. |
before
public void before(Source context)
-
An operation executed before dequeing events from the queue. The Source is passed in so the implementation can determine to execute based on the queue properties.
This method is called once at the beginning of any dequeue method regardless of how many queue elements are dequeued.
-
- 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 Source is passed in so the implementation can determine to execute based on the queue properties.
This method is called once at the end of any dequeue method regardless of how many queue elements are dequeued.
-
- Parameters:
context - The source from which the dequeue is performed.
- Since:
- Feb 10, 2003
Please see keelframework.org for information about new Keel releases.