|
||||||||||
| 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 for later execution. this is not to be a threadsafe method, must be called from within the same SelectorHandler thread. |
void |
addPendingKeyCancel(SelectionKey key)
Enqueues SlectionKey for later cancel and close . this is not to be a threadsafe method, must be called from within the same SelectorHandler 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 | |||||||||