| Package | Description |
|---|---|
| io.netty.util.concurrent |
Utility classes for concurrent / async tasks.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AbstractEventExecutor.LazyRunnable
Marker interface for
Runnable to indicate that it should be queued for execution
but does not need to run immediately. |
class |
DefaultEventExecutorChooserFactory
Default implementation which uses simple round-robin to choose next
EventExecutor. |
interface |
EventExecutorChooserFactory
Factory that creates new
EventExecutorChooserFactory.EventExecutorChoosers. |
static interface |
EventExecutorChooserFactory.EventExecutorChooser
Chooses the next
EventExecutor to use. |
class |
NonStickyEventExecutorGroup
EventExecutorGroup which will preserve Runnable execution order but makes no guarantees about what
EventExecutor (and therefore Thread) will be used to execute the Runnables. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SingleThreadEventExecutor.afterRunningAllTasks()
Invoked before returning from
SingleThreadEventExecutor.runAllTasks() and SingleThreadEventExecutor.runAllTasks(long). |
protected long |
SingleThreadEventExecutor.deadlineNanos()
Returns the absolute point in time (relative to
AbstractScheduledEventExecutor.nanoTime()) at which the next
closest scheduled task should run. |
void |
AbstractEventExecutor.lazyExecute(Runnable task)
Like
Executor.execute(Runnable) but does not guarantee the task will be run until either
a non-lazy task is executed or the executor is shut down. |
boolean |
FastThreadLocalThread.willCleanupFastThreadLocals()
|
static boolean |
FastThreadLocalThread.willCleanupFastThreadLocals(Thread thread)
|
Copyright © 2008–2022 The Netty Project. All rights reserved.