class NioManager.WorkAroundSelectSpin extends NioManager.SelectStrategy
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
spins |
| Constructor and Description |
|---|
WorkAroundSelectSpin() |
| Modifier and Type | Method and Description |
|---|---|
private void |
reset()
Called when the buggy condition is detected.
|
int |
select(long timeout)
Detects the buggy condition and works around by
re-creating the selector when the bug is triggered.
|
boolean |
wakeupPending()
Was a wakeup() issued after we entered the select() ??
|
public boolean wakeupPending()
public int select(long timeout)
throws java.io.IOException
select in class NioManager.SelectStrategyjava.io.IOExceptionprivate void reset()
throws java.io.IOException
java.io.IOException