|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IoEventQueueHandler
Listens and filters all event queue operations occurring in
OrderedThreadPoolExecutor
and UnorderedThreadPoolExecutor
.
Field Summary | |
---|---|
static IoEventQueueHandler |
NOOP
A dummy handler which always accepts event doing nothing particular. |
Method Summary | |
---|---|
boolean |
accept(Object source,
IoEvent event)
Returns true if and only if the specified event is allowed to be offered to the event queue. |
void |
offered(Object source,
IoEvent event)
Invoked after the specified event has been offered to the event queue. |
void |
polled(Object source,
IoEvent event)
Invoked after the specified event has been polled from the event queue. |
Field Detail |
---|
static final IoEventQueueHandler NOOP
Method Detail |
---|
boolean accept(Object source, IoEvent event)
void offered(Object source, IoEvent event)
void polled(Object source, IoEvent event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |