public class DefaultEventLoop extends SingleThreadEventLoop
DEFAULT_MAX_PENDING_TASKS
Constructor and Description |
---|
DefaultEventLoop() |
DefaultEventLoop(EventLoopGroup parent) |
DefaultEventLoop(EventLoopGroup parent, java.util.concurrent.Executor executor) |
DefaultEventLoop(EventLoopGroup parent, java.util.concurrent.ThreadFactory threadFactory) |
DefaultEventLoop(java.util.concurrent.Executor executor) |
DefaultEventLoop(java.util.concurrent.ThreadFactory threadFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
run() |
afterRunningAllTasks, executeAfterEventLoopIteration, hasTasks, next, parent, pendingTasks, register, register, register, wakesUpForTask
addShutdownHook, addTask, awaitTermination, cleanup, confirmShutdown, delayNanos, execute, inEventLoop, interruptThread, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isShuttingDown, isTerminated, newTaskQueue, newTaskQueue, peekTask, pollTask, pollTaskFrom, reject, reject, removeShutdownHook, removeTask, runAllTasks, runAllTasks, runAllTasksFrom, shutdown, shutdownGracefully, takeTask, terminationFuture, threadProperties, updateLastExecutionTime, wakeup
cancelScheduledTasks, hasScheduledTasks, nanoTime, nextScheduledTaskNano, pollScheduledTask, pollScheduledTask, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
inEventLoop, iterator, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, newTaskFor, newTaskFor, safeExecute, shutdownGracefully, shutdownNow, submit, submit, submit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
inEventLoop, inEventLoop, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
public DefaultEventLoop()
public DefaultEventLoop(java.util.concurrent.ThreadFactory threadFactory)
public DefaultEventLoop(java.util.concurrent.Executor executor)
public DefaultEventLoop(EventLoopGroup parent)
public DefaultEventLoop(EventLoopGroup parent, java.util.concurrent.ThreadFactory threadFactory)
public DefaultEventLoop(EventLoopGroup parent, java.util.concurrent.Executor executor)
protected void run()
run
在课堂
SingleThreadEventExecutor
Copyright © 2008–2018 The Netty Project. All rights reserved.