Package org.apache.pekko.dispatch
Class ThreadPoolExecutorConfigurator
java.lang.Object
org.apache.pekko.dispatch.ExecutorServiceConfigurator
org.apache.pekko.dispatch.ThreadPoolExecutorConfigurator
- All Implemented Interfaces:
ExecutorServiceFactoryProvider,ThreadPoolExecutorServiceFactoryProvider
public class ThreadPoolExecutorConfigurator
extends ExecutorServiceConfigurator
implements ThreadPoolExecutorServiceFactoryProvider
-
Constructor Summary
ConstructorsConstructorDescriptionThreadPoolExecutorConfigurator(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites) -
Method Summary
Modifier and TypeMethodDescriptionprotected ThreadPoolConfigBuildercreateThreadPoolConfigBuilder(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites) booleanintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.dispatch.ExecutorServiceFactoryProvider
createVirtualizedMethods inherited from interface org.apache.pekko.dispatch.ThreadPoolExecutorServiceFactoryProvider
createExecutorServiceFactory
-
Constructor Details
-
ThreadPoolExecutorConfigurator
public ThreadPoolExecutorConfigurator(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites)
-
-
Method Details
-
createThreadPoolConfigBuilder
protected ThreadPoolConfigBuilder createThreadPoolConfigBuilder(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites) -
isVirtualized
public boolean isVirtualized()- Specified by:
isVirtualizedin interfaceExecutorServiceFactoryProvider
-
threadPoolConfig
- Specified by:
threadPoolConfigin interfaceThreadPoolExecutorServiceFactoryProvider
-
virtualThreadStartNumber
public int virtualThreadStartNumber()- Specified by:
virtualThreadStartNumberin interfaceExecutorServiceFactoryProvider
-