| Modifier and Type | Method and Description |
|---|---|
| public FileDescriptor | |
| public int | |
| public void | |
| public default void | park(int
the event to poll event, long the timeout to wait; nanos)<= 0 to wait indefinitelyDisables the current thread for scheduling purposes until this channel is ready for I/O, or asynchronously closed, for up to the specified waiting time. |
| public default void | park(int
the event to poll event)Disables the current thread for scheduling purposes until this channel is ready for I/O, or asynchronously closed. |
| public boolean | Returns: true iff the new value of sk.readyOps() set by this method contains at least one bit that the previous value did not containSets the specified ops if present in interestOps. |
| public boolean | Returns: true iff the new value of sk.readyOps() set by this method contains at least one bit that the previous value did not containAdds the specified ops if present in interestOps. |
| public int |
| getFD | back to summary |
|---|---|
| public FileDescriptor getFD() | |
| getFDVal | back to summary |
|---|---|
| public int getFDVal() | |
| kill | back to summary |
|---|---|
| public void kill() throws IOException | |
| park | back to summary |
|---|---|
| public default void park(int event, long nanos) throws IOException Disables the current thread for scheduling purposes until this channel is ready for I/O, or asynchronously closed, for up to the specified waiting time. This method does not report which of these caused the method to return. Callers should re-check the conditions which caused the thread to park.
| |
| park | back to summary |
|---|---|
| public default void park(int event) throws IOException Disables the current thread for scheduling purposes until this channel is ready for I/O, or asynchronously closed. This method does not report which of these caused the method to return. Callers should re-check the conditions which caused the thread to park.
| |
| translateAndSetReadyOps | back to summary |
|---|---|
| public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl ski) Sets the specified ops if present in interestOps. The specified ops are turned on, and all other ops are turned off.
| |
| translateAndUpdateReadyOps | back to summary |
|---|---|
| public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl ski) Adds the specified ops if present in interestOps. The specified ops are turned on without affecting the other ops.
| |
| translateInterestOps | back to summary |
|---|---|
| public int translateInterestOps(int ops) Translates an interest operation set into a native event set | |