Class EventLoopAwareNettyIoExecutors
- java.lang.Object
-
- io.servicetalk.transport.netty.internal.EventLoopAwareNettyIoExecutors
-
public final class EventLoopAwareNettyIoExecutors extends java.lang.Object
A static factory to create or convert toEventLoopAwareNettyIoExecutor
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EventLoopAwareNettyIoExecutor
toEventLoopAwareNettyIoExecutor(IoExecutor ioExecutor)
Attempts to convert the passedIoExecutor
to aEventLoopAwareNettyIoExecutor
.
-
-
-
Method Detail
-
toEventLoopAwareNettyIoExecutor
public static EventLoopAwareNettyIoExecutor toEventLoopAwareNettyIoExecutor(IoExecutor ioExecutor)
Attempts to convert the passedIoExecutor
to aEventLoopAwareNettyIoExecutor
.- Parameters:
ioExecutor
-IoExecutor
to convert.- Returns:
EventLoopAwareNettyIoExecutor
corresponding to the passedIoExecutor
.- Throws:
java.lang.IllegalArgumentException
- IfIoExecutor
is not of typeEventLoopAwareNettyIoExecutor
.
-
-