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 ThreadPoolConfigBuilder
createThreadPoolConfigBuilder
(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites) boolean
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pekko.dispatch.ExecutorServiceFactoryProvider
createVirtualized
Methods 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:
isVirtualized
in interfaceExecutorServiceFactoryProvider
-
threadPoolConfig
- Specified by:
threadPoolConfig
in interfaceThreadPoolExecutorServiceFactoryProvider
-
virtualThreadStartNumber
public int virtualThreadStartNumber()- Specified by:
virtualThreadStartNumber
in interfaceExecutorServiceFactoryProvider
-