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_MAXUPDATECONNECTIONIDLETIME |
static int |
DEFAULT_MAXUPDATECONNECTIONS |
static int |
DEFAULT_MAXUPDATECONNECTIONSPERHOST |
static String |
DEFAULT_METRICNAMESTRATEGY |
static int |
DEFAULT_UPDATECONNECTIONSEVICTORSLEEPDELAY |
Constructor and Description |
---|
UpdateShardHandlerConfig(int maxUpdateConnections,
int maxUpdateConnectionsPerHost,
int distributedSocketTimeout,
int distributedConnectionTimeout,
int updateConnectionsEvictorSleepDelay,
int maxUpdateConnectionIdleTime,
String metricNameStrategy,
int maxRecoveryThreads) |
Modifier and Type | Method and Description |
---|---|
int |
getDistributedConnectionTimeout() |
int |
getDistributedSocketTimeout() |
int |
getMaxRecoveryThreads() |
int |
getMaxUpdateConnectionIdleTime() |
int |
getMaxUpdateConnections() |
int |
getMaxUpdateConnectionsPerHost() |
String |
getMetricNameStrategy() |
int |
getUpdateConnectionsEvictorSleepDelay() |
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 int DEFAULT_UPDATECONNECTIONSEVICTORSLEEPDELAY
public static final int DEFAULT_MAXUPDATECONNECTIONIDLETIME
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, int updateConnectionsEvictorSleepDelay, int maxUpdateConnectionIdleTime, String metricNameStrategy, int maxRecoveryThreads)
public int getMaxUpdateConnectionsPerHost()
public int getMaxUpdateConnections()
public int getDistributedSocketTimeout()
public int getDistributedConnectionTimeout()
public String getMetricNameStrategy()
public int getUpdateConnectionsEvictorSleepDelay()
public int getMaxUpdateConnectionIdleTime()
public int getMaxRecoveryThreads()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.