Package com.yahoo.container.handler
Class ThreadpoolConfig.Builder
- java.lang.Object
-
- com.yahoo.container.handler.ThreadpoolConfig.Builder
-
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder
,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ThreadpoolConfig
public static class ThreadpoolConfig.Builder extends java.lang.Object implements com.yahoo.config.ConfigInstance.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(ThreadpoolConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadpoolConfig
build()
ThreadpoolConfig.Builder
corePoolSize(int __value)
boolean
dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
boolean
getApplyOnRestart()
java.lang.String
getDefMd5()
java.lang.String
getDefName()
java.lang.String
getDefNamespace()
ThreadpoolConfig.Builder
keepAliveTime(double __value)
ThreadpoolConfig.Builder
maxThreadExecutionTimeSeconds(int __value)
ThreadpoolConfig.Builder
maxthreads(int __value)
ThreadpoolConfig.Builder
name(java.lang.String __value)
ThreadpoolConfig.Builder
queueSize(int __value)
void
setApplyOnRestart(boolean applyOnRestart)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ThreadpoolConfig config)
-
-
Method Detail
-
maxthreads
public ThreadpoolConfig.Builder maxthreads(int __value)
-
corePoolSize
public ThreadpoolConfig.Builder corePoolSize(int __value)
-
keepAliveTime
public ThreadpoolConfig.Builder keepAliveTime(double __value)
-
queueSize
public ThreadpoolConfig.Builder queueSize(int __value)
-
maxThreadExecutionTimeSeconds
public ThreadpoolConfig.Builder maxThreadExecutionTimeSeconds(int __value)
-
name
public ThreadpoolConfig.Builder name(java.lang.String __value)
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer)
- Specified by:
dispatchGetConfig
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
public final java.lang.String getDefMd5()
- Specified by:
getDefMd5
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
public final java.lang.String getDefName()
- Specified by:
getDefName
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
public final java.lang.String getDefNamespace()
- Specified by:
getDefNamespace
in interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()
- Specified by:
getApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart)
- Specified by:
setApplyOnRestart
in interfacecom.yahoo.config.ConfigInstance.Builder
-
build
public ThreadpoolConfig build()
-
-