Package com.yahoo.container.handler
Class ThreadpoolConfig
java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.container.handler.ThreadpoolConfig
public final class ThreadpoolConfig
extends com.yahoo.config.ConfigInstance
This class represents the root node of threadpool
Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class com.yahoo.config.ConfigInstance
getDefName, getDefNamespace, serialize, serialize
Methods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toString
Methods inherited from class com.yahoo.config.Node
clone
-
Field Details
-
CONFIG_DEF_MD5
- See Also:
-
CONFIG_DEF_NAME
- See Also:
-
CONFIG_DEF_NAMESPACE
- See Also:
-
CONFIG_DEF_SCHEMA
-
-
Constructor Details
-
ThreadpoolConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
maxthreads
public int maxthreads()- Returns:
- threadpool.maxthreads
-
corePoolSize
public int corePoolSize()- Returns:
- threadpool.corePoolSize
-
keepAliveTime
public double keepAliveTime()- Returns:
- threadpool.keepAliveTime
-
queueSize
public int queueSize()- Returns:
- threadpool.queueSize
-
maxThreadExecutionTimeSeconds
public int maxThreadExecutionTimeSeconds()- Returns:
- threadpool.maxThreadExecutionTimeSeconds
-
name
- Returns:
- threadpool.name
-