|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PendingIOhandler
allows for SelectorHandlers like TCPSelectorHandler to in an efficent "bulk style"
offload selectionkey attachmen triggered IO to worker threads.
Method Summary | |
---|---|
void |
addPendingIO(Runnable runnable)
Enqueues runnable to be executed on Selector thread. |
void |
addPendingKeyCancel(SelectionKey key)
Enqueues SelectionKey for later cancel and close on a Selector thread. |
Method Detail |
---|
void addPendingIO(Runnable runnable)
runnable
- void addPendingKeyCancel(SelectionKey key)
runnable
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |