Interface ThreadAwareExecutor

All Superinterfaces:
java.util.concurrent.Executor
All Known Subinterfaces:
EventExecutor, EventLoop, IoEventLoop, OrderedEventExecutor
All Known Implementing Classes:
AbstractEventExecutor, AbstractEventLoop, AbstractScheduledEventExecutor, DefaultEventExecutor, DefaultEventLoop, EmbeddedEventLoop, EpollEventLoop, GlobalEventExecutor, ImmediateEventExecutor, KQueueEventLoopGroup.KQueueEventLoop, ManualIoEventLoop, NioEventLoop, NonStickyEventExecutorGroup.NonStickyOrderedEventExecutor, SingleThreadEventExecutor, SingleThreadEventLoop, SingleThreadIoEventLoop, ThreadPerChannelEventLoop, UnorderedThreadPoolEventExecutor

public interface ThreadAwareExecutor extends java.util.concurrent.Executor
Executor that is aware its execution thread.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isExecutorThread(java.lang.Thread thread)
    Return true if the given Thread is used by this ThreadAwareExecutor to execute work.

    Methods inherited from interface java.util.concurrent.Executor

    execute
  • Method Details

    • isExecutorThread

      boolean isExecutorThread(java.lang.Thread thread)
      Return true if the given Thread is used by this ThreadAwareExecutor to execute work.