@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 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 |
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
protected ConnectionConfiguration()
public long getWriteBufferSize()
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()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.