protected static final class DefaultSelectorHandler.RegisterKeyTask extends Object implements SelectorHandlerTask
| Constructor and Description |
|---|
RegisterKeyTask(SelectionKey selectionKey,
int interest) |
public RegisterKeyTask(SelectionKey selectionKey, int interest)
public boolean run(SelectorRunner selectorRunner) throws IOException
run in interface SelectorHandlerTaskIOExceptionpublic void cancel()
cancel in interface SelectorHandlerTaskCopyright © 2017–2019 Oracle Corporation. All rights reserved.