Class ContainerThreadpoolConfig.Builder
java.lang.Object
com.yahoo.container.handler.threadpool.ContainerThreadpoolConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ContainerThreadpoolConfig
public static final class ContainerThreadpoolConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()final booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) final booleanfinal Stringfinal Stringfinal StringkeepAliveTime(double __value) maxThreadExecutionTimeSeconds(int __value) maxThreads(int __value) minThreads(int __value) queueSize(int __value) relativeMaxThreads(double __value) relativeMinThreads(double __value) relativeQueueSize(double __value) final voidsetApplyOnRestart(boolean applyOnRestart)
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
maxThreads
-
minThreads
-
relativeMinThreads
-
relativeMaxThreads
-
keepAliveTime
-
queueSize
-
relativeQueueSize
-
maxThreadExecutionTimeSeconds
-
name
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfigin interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefNamein interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespacein interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-