public interface IoEventQueueHandler
extends java.util.EventListener
OrderedThreadPoolExecutor and UnorderedThreadPoolExecutor.| Modifier and Type | Field and Description |
|---|---|
static IoEventQueueHandler |
NOOP
A dummy handler which always accepts event doing nothing particular.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.Object source,
IoEvent event)
Returns true if and only if the specified event is
allowed to be offered to the event queue.
|
void |
offered(java.lang.Object source,
IoEvent event)
Invoked after the specified event has been offered to the
event queue.
|
void |
polled(java.lang.Object source,
IoEvent event)
Invoked after the specified event has been polled from the
event queue.
|
static final IoEventQueueHandler NOOP
boolean accept(java.lang.Object source,
IoEvent event)
void offered(java.lang.Object source,
IoEvent event)
void polled(java.lang.Object source,
IoEvent event)