| Modifier and Type | Field and Description |
|---|---|
| public static final int | BUSY_WAIT
Indicates the IO loop to poll for new events without blocking. |
| public static final int | CONTINUE
Indicates the IO loop should be retried, no blocking select to follow directly. |
| public static final int | SELECT
Indicates a blocking select should follow. |
| Modifier and Type | Method and Description |
|---|---|
| public int | calculateStrategy(IntSupplier
The supplier with the result of a select result. selectSupplier, boolean true if blocking for IO is not allowed.The |
| BUSY_WAIT | back to summary |
|---|---|
| public static final int BUSY_WAIT Indicates the IO loop to poll for new events without blocking. | |
| CONTINUE | back to summary |
|---|---|
| public static final int CONTINUE Indicates the IO loop should be retried, no blocking select to follow directly. | |
| SELECT | back to summary |
|---|---|
| public static final int SELECT Indicates a blocking select should follow. | |
| calculateStrategy | back to summary |
|---|---|
| public int calculateStrategy(IntSupplier selectSupplier, boolean notBlockForIo) throws Exception The
| |