@Deprecated public final class EventLoopDispatcher extends RingBufferDispatcher
Dispatcher that uses a BlockingQueue to queue tasks to be executed.AbstractSingleThreadDispatcher.SingleThreadTaskAbstractLifecycleDispatcher.Task| Constructor and Description |
|---|
EventLoopDispatcher(java.lang.String name,
int backlog)
Deprecated.
Creates a new EventLoopDispatcher with the given name and backlog.
|
EventLoopDispatcher(java.lang.String name,
int backlog,
Consumer<java.lang.Throwable> uncaughtExceptionHandler)
Deprecated.
Creates a new EventLoopDispatcher with the given name and backlog.
|
allocateTask, awaitAndShutdown, execute, halt, shutdownallocateRecursiveTask, expandTailRecursionPile, getBacklogaddToTailRecursionPile, alive, awaitAndShutdown, dispatch, dispatch, execute, getContext, isInContext, routepublic EventLoopDispatcher(java.lang.String name,
int backlog)
name - The namebacklog - The backlog sizepublic EventLoopDispatcher(java.lang.String name,
int backlog,
Consumer<java.lang.Throwable> uncaughtExceptionHandler)
name - The namebacklog - The backlog sizeuncaughtExceptionHandler - The UncaughtExceptionHandler