Interface NettyIoExecutor

All Superinterfaces:
AsyncCloseable, Executor, Executor, IoExecutor, ListenableAsyncCloseable, TimeSource
All Known Subinterfaces:
EventLoopAwareNettyIoExecutor

public interface NettyIoExecutor extends IoExecutor
IoExecutor for Netty.

Caution

Implementations of this interface assumes that they would not be used to run blocking code. If this assumption is violated, it will impact eventloop responsiveness and hence should be avoided.
  • Method Details

    • asExecutor

      @Deprecated Executor asExecutor()
      Deprecated.
      IoExecutor now implements Executor so this method is redundant.
      Get an Executor which will use an IoExecutor thread for execution.

      Caution

      Implementation of this method assumes there would be no blocking code inside the submitted Runnables. If this assumption is violated, it will impact EventLoop responsiveness and hence should be avoided.
      Returns:
      an Executor which will use an IoExecutor thread for execution.