FutureContextListener listeners that take a context, and listens to the result of a Future.
The result of the asynchronous ChannelOutboundInvoker I/O operation is notified once this listener is added
by calling Future#addListener(Object, FutureContextListener) with the ChannelOutboundInvoker /
Channel as context.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final FutureContextListener | CLOSE
A |
| public static final FutureContextListener | CLOSE_ON_FAILURE
A |
| public static final FutureContextListener | FIRE_EXCEPTION_ON_FAILURE
A |
| Access | Constructor and Description |
|---|---|
| private |
| CLOSE | back to summary |
|---|---|
| public static final FutureContextListener<ChannelOutboundInvoker, Object> CLOSE A | |
| CLOSE_ON_FAILURE | back to summary |
|---|---|
| public static final FutureContextListener<ChannelOutboundInvoker, Object> CLOSE_ON_FAILURE A | |
| FIRE_EXCEPTION_ON_FAILURE | back to summary |
|---|---|
| public static final FutureContextListener<Channel, Object> FIRE_EXCEPTION_ON_FAILURE A | |
| ChannelFutureListeners | back to summary |
|---|---|
| private ChannelFutureListeners() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | operationComplete(ChannelOutboundInvoker context, Future<?>
the source future)Future which called this callbackImplements io. Future has been completed.
|
| Close | back to summary |
|---|---|
| private Close() | |
| operationComplete | back to summary |
|---|---|
| public void operationComplete(ChannelOutboundInvoker context, Future<?> future) throws Exception Implements io. Doc from io. Invoked when the operation associated with the | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | operationComplete(ChannelOutboundInvoker context, Future<?>
the source future)Future which called this callbackImplements io. Future has been completed.
|
| CloseOnFailure | back to summary |
|---|---|
| private CloseOnFailure() | |
| operationComplete | back to summary |
|---|---|
| public void operationComplete(ChannelOutboundInvoker context, Future<?> future) throws Exception Implements io. Doc from io. Invoked when the operation associated with the | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | operationComplete(Channel context, Future<?>
the source future)Future which called this callbackImplements io. Future has been completed.
|
| FireExceptionOnFailure | back to summary |
|---|---|
| private FireExceptionOnFailure() | |
| operationComplete | back to summary |
|---|---|
| public void operationComplete(Channel context, Future<?> future) throws Exception Implements io. Doc from io. Invoked when the operation associated with the | |