Class AbstractBootstrap.PendingRegistrationPromise

All Implemented Interfaces:
ChannelFlushPromiseNotifier.FlushCheckpoint, ChannelFuture, ChannelPromise, Future<Void>, Promise<Void>, Future<Void>
Enclosing class:
AbstractBootstrap<B extends AbstractBootstrap<B,C>,C extends Channel>

static final class AbstractBootstrap.PendingRegistrationPromise extends DefaultChannelPromise
  • Field Details

    • registered

      private volatile boolean registered
  • Constructor Details

    • PendingRegistrationPromise

      PendingRegistrationPromise(Channel channel)
  • Method Details

    • registered

      void registered()
    • executor

      protected EventExecutor executor()
      Description copied from class: DefaultPromise
      Get the executor used to notify listeners when this promise is complete.

      It is assumed this executor will protect against StackOverflowError exceptions. The executor may be used to avoid StackOverflowError by executing a Runnable if the stack depth exceeds a threshold.

      Overrides:
      executor in class DefaultChannelPromise
      Returns:
      The executor used to notify listeners when this promise is complete.