| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| public static final SelectorHandler | DEFAULT_SELECTOR_HANDLER
The default |
| Modifier and Type | Method and Description |
|---|---|
| public void | deregisterChannel(SelectorRunner selectorRunner, SelectableChannel
SelectableChannel channel to deregisterDeregister the channel from the |
| public void | deregisterChannelAsync(SelectorRunner selectorRunner, SelectableChannel
SelectableChannel channel to deregisterDeregister the channel from the |
| public void | deregisterKeyInterest(SelectorRunner selectorRunner, SelectionKey key, int interest)
Deregisters SelectionKey interest. |
| public void | enque(final SelectorRunner selectorRunner, final SelectorHandler.
Execute task in a selector thread. |
| public void | execute(final SelectorRunner selectorRunner, final SelectorHandler.
Execute task in a selector thread. |
| public long | |
| public boolean | |
| public void | |
| public boolean | |
| public void | registerChannel(SelectorRunner selectorRunner, SelectableChannel channel, int interest, Object attachment)
|
| public void | registerChannelAsync(SelectorRunner selectorRunner, SelectableChannel channel, int interest, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler)
|
| public void | |
| public Set |
| DEFAULT_SELECTOR_HANDLER | back to summary |
|---|---|
| public static final SelectorHandler DEFAULT_SELECTOR_HANDLER The default | |
| deregisterChannel | back to summary |
|---|---|
| public void deregisterChannel(SelectorRunner selectorRunner, SelectableChannel channel) throws IOException Deregister the channel from the
| |
| deregisterChannelAsync | back to summary |
|---|---|
| public void deregisterChannelAsync(SelectorRunner selectorRunner, SelectableChannel channel, CompletionHandler<RegisterChannelResult> completionHandler) Deregister the channel from the
| |
| deregisterKeyInterest | back to summary |
|---|---|
| public void deregisterKeyInterest(SelectorRunner selectorRunner, SelectionKey key, int interest) throws IOException Deregisters SelectionKey interest. This method must be called from the SelectorRunner's thread only! | |
| enque | back to summary |
|---|---|
| public void enque(final SelectorRunner selectorRunner, final SelectorHandler. Execute task in a selector thread. Unlike
| |
| execute | back to summary |
|---|---|
| public void execute(final SelectorRunner selectorRunner, final SelectorHandler. Execute task in a selector thread. Unlike
| |
| getSelectTimeout | back to summary |
|---|---|
| public long getSelectTimeout() | |
| onSelectorClosed | back to summary |
|---|---|
| public boolean onSelectorClosed(SelectorRunner selectorRunner) | |
| postSelect | back to summary |
|---|---|
| public void postSelect(SelectorRunner selectorRunner) throws IOException | |
| preSelect | back to summary |
|---|---|
| public boolean preSelect(SelectorRunner selectorRunner) throws IOException | |
| registerChannel | back to summary |
|---|---|
| public void registerChannel(SelectorRunner selectorRunner, SelectableChannel channel, int interest, Object attachment) throws IOException | |
| registerChannelAsync | back to summary |
|---|---|
| public void registerChannelAsync(SelectorRunner selectorRunner, SelectableChannel channel, int interest, Object attachment, CompletionHandler<RegisterChannelResult> completionHandler) | |
| registerKeyInterest | back to summary |
|---|---|
| public void registerKeyInterest(SelectorRunner selectorRunner, SelectionKey key, int interest) throws IOException | |
| select | back to summary |
|---|---|
| public Set | |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| run | back to summary |
|---|---|
| public boolean run() throws Exception | |