public class UpdateShardHandlerConfig extends Object
Modifier and Type | Field and Description |
---|---|
static UpdateShardHandlerConfig |
DEFAULT |
static int |
DEFAULT_DISTRIBUPDATECONNTIMEOUT |
static int |
DEFAULT_DISTRIBUPDATESOTIMEOUT |
static int |
DEFAULT_MAXRECOVERYTHREADS |
static int |
DEFAULT_MAXUPDATECONNECTIONS |
static int |
DEFAULT_MAXUPDATECONNECTIONSPERHOST |
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 int DEFAULT_DISTRIBUPDATECONNTIMEOUT
public static final int DEFAULT_DISTRIBUPDATESOTIMEOUT
public static final int DEFAULT_MAXUPDATECONNECTIONS
public static final int DEFAULT_MAXUPDATECONNECTIONSPERHOST
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-2017 Apache Software Foundation. All Rights Reserved.