public interface ExecutionContext
Modifier and Type | Method and Description |
---|---|
BufferAllocator |
bufferAllocator()
Return the
BufferAllocator that can be used to allocate Buffer s if needed. |
ExecutionStrategy |
executionStrategy()
Returns the
ExecutionStrategy associated with this context. |
Executor |
executor()
Get the
Executor that is used to create any asynchronous sources. |
IoExecutor |
ioExecutor()
Get the
IoExecutor that is used to handle the IO. |
BufferAllocator bufferAllocator()
BufferAllocator
that can be used to allocate Buffer
s if needed.BufferAllocator
to useIoExecutor ioExecutor()
IoExecutor
that is used to handle the IO.IoExecutor
that is used to handle the.Executor executor()
Executor
that is used to create any asynchronous sources.Executor
that is used to create any asynchronous sources.ExecutionStrategy executionStrategy()
ExecutionStrategy
associated with this context.ExecutionStrategy
associated with this context.