public final class DefaultEventExecutor extends SingleThreadEventExecutor
SingleThreadEventExecutor
implementation which just execute all submitted task in a
serial fashion.Constructor and Description |
---|
DefaultEventExecutor() |
DefaultEventExecutor(EventExecutorGroup parent) |
DefaultEventExecutor(EventExecutorGroup parent,
Executor executor) |
DefaultEventExecutor(EventExecutorGroup parent,
Executor executor,
int maxPendingTasks,
RejectedExecutionHandler rejectedExecutionHandler) |
DefaultEventExecutor(EventExecutorGroup parent,
ThreadFactory threadFactory) |
DefaultEventExecutor(EventExecutorGroup parent,
ThreadFactory threadFactory,
int maxPendingTasks,
RejectedExecutionHandler rejectedExecutionHandler) |
DefaultEventExecutor(Executor executor) |
DefaultEventExecutor(ThreadFactory threadFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
run() |
addShutdownHook, addTask, afterRunningAllTasks, awaitTermination, cleanup, confirmShutdown, delayNanos, execute, hasTasks, inEventLoop, interruptThread, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isShuttingDown, isTerminated, newTaskQueue, newTaskQueue, peekTask, pendingTasks, pollTask, pollTaskFrom, reject, reject, removeShutdownHook, removeTask, runAllTasks, runAllTasks, runAllTasksFrom, shutdown, shutdownGracefully, takeTask, terminationFuture, threadProperties, updateLastExecutionTime, wakesUpForTask, wakeup
cancelScheduledTasks, hasScheduledTasks, nanoTime, nextScheduledTaskNano, pollScheduledTask, pollScheduledTask, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
inEventLoop, iterator, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, newTaskFor, newTaskFor, next, parent, safeExecute, shutdownGracefully, shutdownNow, submit, submit, submit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inEventLoop, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, next, parent
iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submit
forEach, spliterator
public DefaultEventExecutor()
public DefaultEventExecutor(ThreadFactory threadFactory)
public DefaultEventExecutor(Executor executor)
public DefaultEventExecutor(EventExecutorGroup parent)
public DefaultEventExecutor(EventExecutorGroup parent, ThreadFactory threadFactory)
public DefaultEventExecutor(EventExecutorGroup parent, Executor executor)
public DefaultEventExecutor(EventExecutorGroup parent, ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler)
public DefaultEventExecutor(EventExecutorGroup parent, Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler)
protected void run()
run
in class SingleThreadEventExecutor
Copyright © 2008–2017 The Netty Project. All rights reserved.