| Modifier and Type | Field and Description |
|---|---|
| private volatile Thread | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static LocalChannelUnsafe | |
| public void | deregister(IoHandle
the handle)IoHandle to deregister..Implements io. IoHandle for IO.
|
| public void | destroy()
Implements io. IoHandler and free all its resources.
|
| public boolean | isCompatible(Class<? extends IoHandle>
the type of the handleType)IoHandle.Implements io. true if the given type is compatible with this IoHandler and so can be registered,
false otherwise.
|
| public static IoHandlerFactory | |
| public void | prepareToDestroy()
Implements io. IoHandler.
|
| public void | register(IoHandle
the handle)Channel to register..Implements io. Channel for IO.
|
| public int | run(IoExecutionContext runner)
Implements io. IoHandler.
|
| public void | wakeup(boolean inEventLoop)
Implements io. IoHandler, which means if any operation blocks it should be unblocked and
return as soon as possible.
|
| executionThread | back to summary |
|---|---|
| private volatile Thread executionThread | |
| registeredChannels | back to summary |
|---|---|
| private final Set<LocalChannelUnsafe> registeredChannels | |
| LocalHandler | back to summary |
|---|---|
| private LocalHandler() | |
| cast | back to summary |
|---|---|
| private static LocalChannelUnsafe cast(IoHandle handle) | |
| deregister | back to summary |
|---|---|
| public void deregister(IoHandle handle) Implements io. Doc from io. Deregister a | |
| destroy | back to summary |
|---|---|
| public void destroy() Implements io. Doc from io. Destroy the
| |
| isCompatible | back to summary |
|---|---|
| public boolean isCompatible(Class<? extends IoHandle> handleType) Implements io. Doc from io. Returns | |
| newFactory | back to summary |
|---|---|
| public static IoHandlerFactory newFactory() Returns a new | |
| prepareToDestroy | back to summary |
|---|---|
| public void prepareToDestroy() Implements io. Doc from io. Prepare to destroy this
| |
| register | back to summary |
|---|---|
| public void register(IoHandle handle) Implements io. Doc from io. Register a | |
| run | back to summary |
|---|---|
| public int run(IoExecutionContext runner) Implements io. Doc from io. Run the IO handled by this | |
| wakeup | back to summary |
|---|---|
| public void wakeup(boolean inEventLoop) Implements io. Doc from io. Wakeup the
| |