Package org.apache.pekko.dispatch
Class ThreadPoolExecutorConfigurator
- java.lang.Object
-
- org.apache.pekko.dispatch.ExecutorServiceConfigurator
-
- org.apache.pekko.dispatch.ThreadPoolExecutorConfigurator
-
- All Implemented Interfaces:
ExecutorServiceFactoryProvider
public class ThreadPoolExecutorConfigurator extends ExecutorServiceConfigurator
-
-
Constructor Summary
Constructors Constructor Description ThreadPoolExecutorConfigurator(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorServiceFactory
createExecutorServiceFactory(java.lang.String id, java.util.concurrent.ThreadFactory threadFactory)
protected ThreadPoolConfigBuilder
createThreadPoolConfigBuilder(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites)
ThreadPoolConfig
threadPoolConfig()
-
-
-
Constructor Detail
-
ThreadPoolExecutorConfigurator
public ThreadPoolExecutorConfigurator(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites)
-
-
Method Detail
-
createExecutorServiceFactory
public ExecutorServiceFactory createExecutorServiceFactory(java.lang.String id, java.util.concurrent.ThreadFactory threadFactory)
-
createThreadPoolConfigBuilder
protected ThreadPoolConfigBuilder createThreadPoolConfigBuilder(com.typesafe.config.Config config, DispatcherPrerequisites prerequisites)
-
threadPoolConfig
public ThreadPoolConfig threadPoolConfig()
-
-