public final class ThreadpoolConfig
extends com.yahoo.config.ConfigInstance
Modifier and Type | Class and Description |
---|---|
static class |
ThreadpoolConfig.Builder |
static interface |
ThreadpoolConfig.Producer |
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_DEF_MD5 |
static String |
CONFIG_DEF_NAME |
static String |
CONFIG_DEF_NAMESPACE |
static String[] |
CONFIG_DEF_SCHEMA |
static String |
CONFIG_DEF_VERSION |
private com.yahoo.config.IntegerNode |
maxThreadExecutionTimeSeconds |
private com.yahoo.config.IntegerNode |
maxthreads |
Modifier | Constructor and Description |
---|---|
|
ThreadpoolConfig(ThreadpoolConfig.Builder builder) |
private |
ThreadpoolConfig(ThreadpoolConfig.Builder builder,
boolean throwIfUninitialized) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
containsFieldsFlaggedWithRestart() |
private com.yahoo.config.ChangesRequiringRestart |
getChangesRequiringRestart(ThreadpoolConfig newConfig) |
static String |
getDefMd5() |
static String |
getDefName() |
static String |
getDefNamespace() |
static String |
getDefVersion() |
int |
maxThreadExecutionTimeSeconds() |
int |
maxthreads() |
getConfigMd5, getDefName, getDefNamespace, serialize, serialize, setConfigMd5
public static final String CONFIG_DEF_MD5
public static final String CONFIG_DEF_NAME
public static final String CONFIG_DEF_NAMESPACE
public static final String CONFIG_DEF_VERSION
public static final String[] CONFIG_DEF_SCHEMA
private final com.yahoo.config.IntegerNode maxthreads
private final com.yahoo.config.IntegerNode maxThreadExecutionTimeSeconds
public ThreadpoolConfig(ThreadpoolConfig.Builder builder)
private ThreadpoolConfig(ThreadpoolConfig.Builder builder, boolean throwIfUninitialized)
public static String getDefMd5()
public static String getDefName()
public static String getDefNamespace()
public static String getDefVersion()
public int maxthreads()
public int maxThreadExecutionTimeSeconds()
private com.yahoo.config.ChangesRequiringRestart getChangesRequiringRestart(ThreadpoolConfig newConfig)
private static boolean containsFieldsFlaggedWithRestart()
Copyright © 2018. All rights reserved.