| Modifier and Type | Class and Description |
|---|---|
| public static enum | EventLoop.
Possible states for a nested event loop object. |
| Modifier and Type | Field and Description |
|---|---|
| private Object | |
| private static final Deque | |
| private EventLoop. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public EventLoop. | |
| public void |
| returnValue | back to summary |
|---|---|
| private Object returnValue | |
| stack | back to summary |
|---|---|
| private static final Deque<EventLoop> stack | |
| state | back to summary |
|---|---|
| private EventLoop. | |
| EventLoop | back to summary |
|---|---|
| pack-priv EventLoop() | |
| enter | back to summary |
|---|---|
| public Object enter() Starts a nested event loop.
The EventLoop object must be in the
| |
| getState | back to summary |
|---|---|
| public EventLoop. Gets the current | |
| leave | back to summary |
|---|---|
| public void leave(Object ret) Requests this nested event loop to terminate.
The EventLoop object must be in the
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final EventLoop. | ACTIVE
The nested loop represented by this object is currently running. |
| public static final EventLoop. | IDLE
A free EventLoop object that can be used to start a new nested event loop. |
| public static final EventLoop. | LEAVING
The nested loop has been requested to leave. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static EventLoop. | |
| public static EventLoop. |
| ACTIVE | back to summary |
|---|---|
| public static final EventLoop. The nested loop represented by this object is currently running. | |
| IDLE | back to summary |
|---|---|
| public static final EventLoop. A free EventLoop object that can be used to start a new nested event loop. | |
| LEAVING | back to summary |
|---|---|
| public static final EventLoop. The nested loop has been requested to leave. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static EventLoop. | |
| values | back to summary |
|---|---|
| public static EventLoop. | |