public class TransportPoller extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
protected static int |
ITERATION_THRESHOLD |
protected static Field |
PUBLIC_SELECTED_KEYS_FIELD |
protected static Field |
SELECTED_KEYS_FIELD |
protected NioSelectedKeySet |
selectedKeySet |
protected Selector |
selector |
| Constructor and Description |
|---|
TransportPoller() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close NioSelector down.
|
void |
selectNowWithoutProcessing()
Explicit call to
Selector.selectNow() followed by clearing out the set without processing. |
protected static final Field SELECTED_KEYS_FIELD
protected static final Field PUBLIC_SELECTED_KEYS_FIELD
protected static final int ITERATION_THRESHOLD
protected final NioSelectedKeySet selectedKeySet
protected final Selector selector
public void close()
close in interface AutoCloseablepublic void selectNowWithoutProcessing()
Selector.selectNow() followed by clearing out the set without processing.Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.