Class EventLoopAwareNettyIoExecutors
java.lang.Object
io.servicetalk.transport.netty.internal.EventLoopAwareNettyIoExecutors
A static factory to create or convert to
EventLoopAwareNettyIoExecutor
.-
Method Summary
Modifier and TypeMethodDescriptiontoEventLoopAwareNettyIoExecutor
(IoExecutor ioExecutor) Attempts to convert the passedIoExecutor
to aEventLoopAwareNettyIoExecutor
.
-
Method Details
-
toEventLoopAwareNettyIoExecutor
Attempts to convert the passedIoExecutor
to aEventLoopAwareNettyIoExecutor
.- Parameters:
ioExecutor
-IoExecutor
to convert.- Returns:
EventLoopAwareNettyIoExecutor
corresponding to the passedIoExecutor
.- Throws:
IllegalArgumentException
- IfIoExecutor
is not of typeEventLoopAwareNettyIoExecutor
.
-