@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 |
private int |
maxKeyValueSize |
private int |
metaOperationTimeout |
private int |
operationTimeout |
private int |
primaryCallTimeoutMicroSecond |
private int |
replicaCallTimeoutMicroSecondScan |
private int |
retries |
private int |
scannerCaching |
private long |
scannerMaxResultSize |
static long |
WRITE_BUFFER_SIZE_DEFAULT |
static String |
WRITE_BUFFER_SIZE_KEY |
private long |
writeBufferSize |
Modifier | Constructor and Description |
---|---|
protected |
ConnectionConfiguration()
Constructor
This is for internal testing purpose (using the default value).
|
(package private) |
ConnectionConfiguration(org.apache.hadoop.conf.Configuration conf)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxKeyValueSize() |
int |
getMetaOperationTimeout() |
int |
getOperationTimeout() |
int |
getPrimaryCallTimeoutMicroSecond() |
int |
getReplicaCallTimeoutMicroSecondScan() |
int |
getRetriesNumber() |
int |
getScannerCaching() |
long |
getScannerMaxResultSize() |
long |
getWriteBufferSize() |
public static final String WRITE_BUFFER_SIZE_KEY
public static final long WRITE_BUFFER_SIZE_DEFAULT
public static final String MAX_KEYVALUE_SIZE_KEY
public static final int MAX_KEYVALUE_SIZE_DEFAULT
private final long writeBufferSize
private final int metaOperationTimeout
private final int operationTimeout
private final int scannerCaching
private final long scannerMaxResultSize
private final int primaryCallTimeoutMicroSecond
private final int replicaCallTimeoutMicroSecondScan
private final int retries
private final int maxKeyValueSize
ConnectionConfiguration(org.apache.hadoop.conf.Configuration conf)
conf
- Configuration objectprotected ConnectionConfiguration()
public long getWriteBufferSize()
public int getMetaOperationTimeout()
public int getOperationTimeout()
public int getScannerCaching()
public int getPrimaryCallTimeoutMicroSecond()
public int getReplicaCallTimeoutMicroSecondScan()
public int getRetriesNumber()
public int getMaxKeyValueSize()
public long getScannerMaxResultSize()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.