public class UpdateShardHandlerConfig extends Object
Modifier and Type | Field and Description |
---|---|
static UpdateShardHandlerConfig |
DEFAULT |
static int |
DEFAULT_MAXRECOVERYTHREADS |
static String |
DEFAULT_METRICNAMESTRATEGY |
Constructor and Description |
---|
UpdateShardHandlerConfig(int maxUpdateConnections,
int maxUpdateConnectionsPerHost,
int distributedSocketTimeout,
int distributedConnectionTimeout,
String metricNameStrategy,
int maxRecoveryThreads) |
Modifier and Type | Method and Description |
---|---|
int |
getDistributedConnectionTimeout() |
int |
getDistributedSocketTimeout() |
int |
getMaxRecoveryThreads() |
int |
getMaxUpdateConnections() |
int |
getMaxUpdateConnectionsPerHost() |
String |
getMetricNameStrategy() |
public static final String DEFAULT_METRICNAMESTRATEGY
public static final int DEFAULT_MAXRECOVERYTHREADS
public static final UpdateShardHandlerConfig DEFAULT
public UpdateShardHandlerConfig(int maxUpdateConnections, int maxUpdateConnectionsPerHost, int distributedSocketTimeout, int distributedConnectionTimeout, String metricNameStrategy, int maxRecoveryThreads)
public int getMaxUpdateConnectionsPerHost()
public int getMaxUpdateConnections()
public int getDistributedSocketTimeout()
public int getDistributedConnectionTimeout()
public String getMetricNameStrategy()
public int getMaxRecoveryThreads()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.