Class ContainerThreadpoolConfig
java.lang.Object
com.yahoo.config.Node
com.yahoo.config.InnerNode
com.yahoo.config.ConfigInstance
com.yahoo.container.handler.threadpool.ContainerThreadpoolConfig
public final class ContainerThreadpoolConfig
extends com.yahoo.config.ConfigInstance
This class represents the root node of container-threadpool
Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.yahoo.config.ConfigInstance
getDefName, getDefNamespace, serialize, serializeMethods inherited from class com.yahoo.config.InnerNode
equals, getAllDescendantLeafNodes, getChildren, getChildrenWithVectorsFlattened, hashCode, postInitialize, toStringMethods 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
-
ContainerThreadpoolConfig
-
-
Method Details
-
getDefMd5
-
getDefName
-
getDefNamespace
-
maxThreads
public int maxThreads()- Returns:
- container-threadpool.maxThreads
-
minThreads
public int minThreads()- Returns:
- container-threadpool.minThreads
-
relativeMinThreads
public double relativeMinThreads()- Returns:
- container-threadpool.relativeMinThreads
-
relativeMaxThreads
public double relativeMaxThreads()- Returns:
- container-threadpool.relativeMaxThreads
-
keepAliveTime
public double keepAliveTime()- Returns:
- container-threadpool.keepAliveTime
-
queueSize
public int queueSize()- Returns:
- container-threadpool.queueSize
-
relativeQueueSize
public double relativeQueueSize()- Returns:
- container-threadpool.relativeQueueSize
-
maxThreadExecutionTimeSeconds
public int maxThreadExecutionTimeSeconds()- Returns:
- container-threadpool.maxThreadExecutionTimeSeconds
-
name
- Returns:
- container-threadpool.name
-