public final class DefaultEventExecutor extends SingleThreadEventExecutor
SingleThreadEventExecutor
implementation which just execute all submitted task in a
serial fashion.SingleThreadEventExecutor.NonWakeupRunnable
AbstractEventExecutor.LazyRunnable
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()
Run the tasks in the
SingleThreadEventExecutor.taskQueue |
addShutdownHook, addTask, afterRunningAllTasks, awaitTermination, cleanup, confirmShutdown, deadlineNanos, delayNanos, execute, hasTasks, inEventLoop, interruptThread, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isShuttingDown, isTerminated, lazyExecute, newTaskQueue, newTaskQueue, peekTask, pendingTasks, pollTask, pollTaskFrom, reject, reject, removeShutdownHook, removeTask, runAllTasks, runAllTasks, runAllTasksFrom, runScheduledAndExecutorTasks, shutdown, shutdownGracefully, takeTask, terminationFuture, threadProperties, updateLastExecutionTime, wakesUpForTask, wakeup
afterScheduledTaskSubmitted, beforeScheduledTaskSubmitted, cancelScheduledTasks, deadlineToDelayNanos, getCurrentTimeNanos, hasScheduledTasks, initialNanoTime, nanoTime, nextScheduledTaskDeadlineNanos, nextScheduledTaskNano, pollScheduledTask, pollScheduledTask, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, validateScheduled
inEventLoop, iterator, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, newTaskFor, newTaskFor, next, parent, runTask, 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()
SingleThreadEventExecutor
SingleThreadEventExecutor.taskQueue
run
in class SingleThreadEventExecutor
Copyright © 2008–2024 The Netty Project. All rights reserved.