@InterfaceAudience.Private public class ConnectionConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_KEYVALUE_SIZE_DEFAULT |
static String |
MAX_KEYVALUE_SIZE_KEY |
static String |
PRIMARY_CALL_TIMEOUT_MICROSECOND |
static int |
PRIMARY_CALL_TIMEOUT_MICROSECOND_DEFAULT |
static String |
PRIMARY_SCAN_TIMEOUT_MICROSECOND |
static int |
PRIMARY_SCAN_TIMEOUT_MICROSECOND_DEFAULT |
static String |
WRITE_BUFFER_PERIODIC_FLUSH_TIMEOUT_MS |
static long |
WRITE_BUFFER_PERIODIC_FLUSH_TIMEOUT_MS_DEFAULT |
static String |
WRITE_BUFFER_PERIODIC_FLUSH_TIMERTICK_MS |
static long |
WRITE_BUFFER_PERIODIC_FLUSH_TIMERTICK_MS_DEFAULT |
static long |
WRITE_BUFFER_SIZE_DEFAULT |
static String |
WRITE_BUFFER_SIZE_KEY |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionConfiguration()
Constructor
This is for internal testing purpose (using the default value).
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxKeyValueSize() |
int |
getMetaOperationTimeout() |
int |
getMetaReplicaCallTimeoutMicroSecondScan() |
int |
getOperationTimeout() |
int |
getPrimaryCallTimeoutMicroSecond() |
int |
getReadRpcTimeout() |
int |
getReplicaCallTimeoutMicroSecondScan() |
int |
getRetriesNumber() |
int |
getRpcTimeout() |
int |
getScannerCaching() |
long |
getScannerMaxResultSize() |
long |
getWriteBufferPeriodicFlushTimeoutMs() |
long |
getWriteBufferPeriodicFlushTimerTickMs() |
long |
getWriteBufferSize() |
int |
getWriteRpcTimeout() |
boolean |
isClientScannerAsyncPrefetch() |
public static final String WRITE_BUFFER_SIZE_KEY
public static final long WRITE_BUFFER_SIZE_DEFAULT
public static final String WRITE_BUFFER_PERIODIC_FLUSH_TIMEOUT_MS
public static final String WRITE_BUFFER_PERIODIC_FLUSH_TIMERTICK_MS
public static final long WRITE_BUFFER_PERIODIC_FLUSH_TIMEOUT_MS_DEFAULT
public static final long WRITE_BUFFER_PERIODIC_FLUSH_TIMERTICK_MS_DEFAULT
public static final String MAX_KEYVALUE_SIZE_KEY
public static final int MAX_KEYVALUE_SIZE_DEFAULT
public static final String PRIMARY_CALL_TIMEOUT_MICROSECOND
public static final int PRIMARY_CALL_TIMEOUT_MICROSECOND_DEFAULT
public static final String PRIMARY_SCAN_TIMEOUT_MICROSECOND
public static final int PRIMARY_SCAN_TIMEOUT_MICROSECOND_DEFAULT
protected ConnectionConfiguration()
public int getReadRpcTimeout()
public int getWriteRpcTimeout()
public long getWriteBufferSize()
public long getWriteBufferPeriodicFlushTimeoutMs()
public long getWriteBufferPeriodicFlushTimerTickMs()
public int getMetaOperationTimeout()
public int getOperationTimeout()
public int getScannerCaching()
public int getPrimaryCallTimeoutMicroSecond()
public int getReplicaCallTimeoutMicroSecondScan()
public int getMetaReplicaCallTimeoutMicroSecondScan()
public int getRetriesNumber()
public int getMaxKeyValueSize()
public long getScannerMaxResultSize()
public boolean isClientScannerAsyncPrefetch()
public int getRpcTimeout()
Copyright © 2007–2019 Cloudera. All rights reserved.