public final class DefaultEventExecutor extends SingleThreadEventExecutor
SingleThreadEventExecutor implementation which just execute all submitted task in a
serial fashion.SingleThreadEventExecutor.NonWakeupRunnableAbstractEventExecutor.LazyRunnable| 构造器和说明 |
|---|
DefaultEventExecutor() |
DefaultEventExecutor(EventExecutorGroup parent) |
DefaultEventExecutor(EventExecutorGroup parent,
java.util.concurrent.Executor executor) |
DefaultEventExecutor(EventExecutorGroup parent,
java.util.concurrent.Executor executor,
int maxPendingTasks,
RejectedExecutionHandler rejectedExecutionHandler) |
DefaultEventExecutor(EventExecutorGroup parent,
java.util.concurrent.ThreadFactory threadFactory) |
DefaultEventExecutor(EventExecutorGroup parent,
java.util.concurrent.ThreadFactory threadFactory,
int maxPendingTasks,
RejectedExecutionHandler rejectedExecutionHandler) |
DefaultEventExecutor(java.util.concurrent.Executor executor) |
DefaultEventExecutor(java.util.concurrent.ThreadFactory threadFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, wakeupafterScheduledTaskSubmitted, beforeScheduledTaskSubmitted, cancelScheduledTasks, deadlineToDelayNanos, getCurrentTimeNanos, hasScheduledTasks, initialNanoTime, nanoTime, nextScheduledTaskDeadlineNanos, nextScheduledTaskNano, pollScheduledTask, pollScheduledTask, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, validateScheduledinEventLoop, iterator, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, newTaskFor, newTaskFor, next, parent, runTask, safeExecute, shutdownGracefully, shutdownNow, submit, submit, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinEventLoop, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, next, parentiterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submitpublic DefaultEventExecutor()
public DefaultEventExecutor(java.util.concurrent.ThreadFactory threadFactory)
public DefaultEventExecutor(java.util.concurrent.Executor executor)
public DefaultEventExecutor(EventExecutorGroup parent)
public DefaultEventExecutor(EventExecutorGroup parent, java.util.concurrent.ThreadFactory threadFactory)
public DefaultEventExecutor(EventExecutorGroup parent, java.util.concurrent.Executor executor)
public DefaultEventExecutor(EventExecutorGroup parent, java.util.concurrent.ThreadFactory threadFactory, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler)
public DefaultEventExecutor(EventExecutorGroup parent, java.util.concurrent.Executor executor, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler)
protected void run()
SingleThreadEventExecutorSingleThreadEventExecutor.taskQueuerun 在类中 SingleThreadEventExecutor