public interface EventExecutor extends EventExecutorGroup, ScheduledExecutorService
EventExecutor is a special ScheduledExecutorService which comes
with some handy methods to see if a Thread is executed in a event loop.
Beside this it also extends the EventExecutorGroup to allow a generic way to
access methods.| Modifier and Type | Method and Description |
|---|---|
boolean |
inEventLoop()
Calls
inEventLoop(Thread) with Thread.currentThread() as argument |
boolean |
inEventLoop(Thread thread)
|
EventExecutor |
next()
Returns a reference to itself.
|
EventExecutorGroup |
parent()
Return the
EventExecutorGroup which is the parent of this EventExecutor,
or null if it has no parent |
awaitTermination, isShutdown, isTerminated, shutdownschedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelayawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submitEventExecutor next()
next in interface EventExecutorGroupEventExecutorGroup parent()
EventExecutorGroup which is the parent of this EventExecutor,
or null if it has no parentboolean inEventLoop()
inEventLoop(Thread) with Thread.currentThread() as argumentboolean inEventLoop(Thread thread)
Copyright © 2008-2012 The Netty Project. All Rights Reserved.