Package io.dropwizard.lifecycle.setup
Class ExecutorServiceBuilder
java.lang.Object
io.dropwizard.lifecycle.setup.ExecutorServiceBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionExecutorServiceBuilder(LifecycleEnvironment environment, String nameFormat) ExecutorServiceBuilder(LifecycleEnvironment environment, String nameFormat, ThreadFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionallowCoreThreadTimeOut(boolean allowCoreThreadTimeOut) build()keepAliveTime(io.dropwizard.util.Duration time) maxThreads(int threads) minThreads(int threads) shutdownTime(io.dropwizard.util.Duration time) threadFactory(ThreadFactory threadFactory) workQueue(BlockingQueue<Runnable> workQueue)
-
Constructor Details
-
ExecutorServiceBuilder
public ExecutorServiceBuilder(LifecycleEnvironment environment, String nameFormat, ThreadFactory factory) -
ExecutorServiceBuilder
-
-
Method Details
-
minThreads
-
maxThreads
-
allowCoreThreadTimeOut
-
keepAliveTime
-
shutdownTime
-
workQueue
-
rejectedExecutionHandler
-
threadFactory
-
build
-