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