| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static int | |
| public static int | |
| private static BlockingIO. | |
| private static BlockingIO. | |
| public static final BlockingIO. | |
| public static final BlockingIO. | |
| public static int | |
| public static void | |
| public static int |
| selectors | back to summary |
|---|---|
| private static final Map<SelectorProvider, BlockingIO. | |
| BlockingIO | back to summary |
|---|---|
| public BlockingIO() | |
| awaitReadable | back to summary |
|---|---|
| public static void awaitReadable(ReadableByteChannel channel) throws InterruptedException, IOException | |
| awaitWritable | back to summary |
|---|---|
| public static void awaitWritable(WritableByteChannel channel) throws InterruptedException, IOException | |
| blockingRead | back to summary |
|---|---|
| public static int blockingRead(ReadableByteChannel channel, ByteBuffer buf) throws IOException | |
| blockingWrite | back to summary |
|---|---|
| public static int blockingWrite(WritableByteChannel channel, ByteBuffer buf) throws IOException | |
| getSelector | back to summary |
|---|---|
| private static BlockingIO. | |
| getSelector | back to summary |
|---|---|
| private static BlockingIO. | |
| newCondition | back to summary |
|---|---|
| public static final BlockingIO. | |
| newCondition | back to summary |
|---|---|
| public static final BlockingIO. | |
| read | back to summary |
|---|---|
| public static int read(ReadableByteChannel channel, ByteBuffer buf, boolean blocking) throws IOException | |
| waitForIO | back to summary |
|---|---|
| public static void waitForIO(Channel channel, int op) throws InterruptedException, IOException | |
| write | back to summary |
|---|---|
| public static int write(WritableByteChannel channel, ByteBuffer buf, boolean blocking) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private final BlockingIO. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public void | |
| public void |
| channel | back to summary |
|---|---|
| private final BlockingIO. | |
| Condition | back to summary |
|---|---|
| pack-priv Condition(BlockingIO. | |
| await | back to summary |
|---|---|
| public boolean await() throws InterruptedException | |
| await | back to summary |
|---|---|
| public boolean await(long timeout, TimeUnit unit) throws InterruptedException | |
| cancel | back to summary |
|---|---|
| public void cancel() | |
| interrupt | back to summary |
|---|---|
| public void interrupt() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final SelectableChannel | |
| private boolean | |
| private final Object | |
| pack-priv final int | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | |
| public final boolean | |
| public final void | |
| public final void |
| channel | back to summary |
|---|---|
| pack-priv final SelectableChannel channel | |
| interrupted | back to summary |
|---|---|
| private boolean interrupted | |
| monitor | back to summary |
|---|---|
| private final Object monitor | |
| ops | back to summary |
|---|---|
| pack-priv final int ops | |
| ready | back to summary |
|---|---|
| private boolean ready | |
| woken | back to summary |
|---|---|
| private boolean woken | |
| IOChannel | back to summary |
|---|---|
| pack-priv IOChannel(SelectableChannel channel, int ops, Object monitor) | |
| await | back to summary |
|---|---|
| public final boolean await() throws InterruptedException | |
| await | back to summary |
|---|---|
| public final boolean await(final long timeout, TimeUnit unit) throws InterruptedException | |
| interrupt | back to summary |
|---|---|
| public final void interrupt() | |
| wakeup | back to summary |
|---|---|
| public final void wakeup(boolean ready) | |
| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentLinkedQueue | |
| private final Selector |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv BlockingIO. | |
| public void | |
| public void |
| registrationQueue | back to summary |
|---|---|
| private final ConcurrentLinkedQueue<BlockingIO. | |
| selector | back to summary |
|---|---|
| private final Selector selector | |
| IOSelector | back to summary |
|---|---|
| public IOSelector(SelectorProvider provider) throws IOException | |
| add | back to summary |
|---|---|
| pack-priv BlockingIO. | |
| await | back to summary |
|---|---|
| public void await(Channel channel, int op) throws InterruptedException | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation. | |