Class Config.Executor.ExecutorBuilder
java.lang.Object
net.flectone.pulse.config.Config.Executor.ExecutorBuilder
- Enclosing class:
Config.Executor
- Since:
- 1.7.1
-
Method Summary
Modifier and TypeMethodDescriptionallowCoreThreadTimeout(Boolean allowCoreThreadTimeout) build()keepAlive(Config.Executor.DurationUnit keepAlive) maxPoolSize(Integer maxPoolSize) minPoolSize(Integer minPoolSize) shutdownTimeout(Config.Executor.DurationUnit shutdownTimeout) stallTimeout(Config.Executor.DurationUnit stallTimeout) toString()workQueue(Config.Executor.WorkQueue workQueue)
-
Method Details
-
minPoolSize
- Returns:
this.
-
maxPoolSize
- Returns:
this.
-
allowCoreThreadTimeout
- Returns:
this.
-
workQueue
- Returns:
this.
-
keepAlive
- Returns:
this.
-
shutdownTimeout
public Config.Executor.ExecutorBuilder shutdownTimeout(Config.Executor.DurationUnit shutdownTimeout) - Returns:
this.
-
stallTimeout
- Returns:
this.
-
build
-
toString
-