Package com.linecorp.armeria.common
Class CommonPools
java.lang.Object
com.linecorp.armeria.common.CommonPools
Provides the common shared thread pools and
EventLoopGroup
s which is used when not overridden.-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockingTaskExecutor
Returns the default common blocking taskBlockingTaskExecutor
which is used for potentially long-running tasks which may block I/O threads.static EventLoopGroup
Returns the common workerEventLoopGroup
which is used whenServerBuilder.workerGroup(EventLoopGroup, boolean)
orClientFactoryBuilder.workerGroup(EventLoopGroup, boolean)
is not specified.
-
Method Details
-
blockingTaskExecutor
Returns the default common blocking taskBlockingTaskExecutor
which is used for potentially long-running tasks which may block I/O threads. -
workerGroup
Returns the common workerEventLoopGroup
which is used whenServerBuilder.workerGroup(EventLoopGroup, boolean)
orClientFactoryBuilder.workerGroup(EventLoopGroup, boolean)
is not specified.
-