Modifier and Type |
Method and Description |
static TiConfiguration |
createDefault() |
static TiConfiguration |
createDefault(String pdAddrsStr) |
static TiConfiguration |
createRawDefault() |
static TiConfiguration |
createRawDefault(String pdAddrsStr) |
TiConfiguration.ApiVersion |
getApiVersion() |
int |
getBatchDeleteConcurrency() |
int |
getBatchGetConcurrency() |
int |
getBatchPutConcurrency() |
int |
getBatchScanConcurrency() |
long |
getCertReloadIntervalInSeconds() |
int |
getCircuitBreakAttemptRequestCount() |
int |
getCircuitBreakAvailabilityErrorThresholdPercentage() |
int |
getCircuitBreakAvailabilityRequestVolumnThreshold() |
int |
getCircuitBreakAvailabilityWindowInSeconds() |
int |
getCircuitBreakSleepWindowInSeconds() |
Kvrpcpb.CommandPri |
getCommandPriority() |
long |
getConnRecycleTimeInSeconds() |
String |
getDBPrefix() |
int |
getDeleteRangeConcurrency() |
boolean |
getEnableGrpcForward() |
long |
getForwardTimeout() |
long |
getGrpcHealthCheckTimeout() |
long |
getHealthCheckPeriodDuration() |
HostMapping |
getHostMapping() |
int |
getIdleTimeout() |
int |
getImporterMaxKVBatchBytes() |
int |
getImporterMaxKVBatchSize() |
int |
getIndexScanBatchSize() |
int |
getIndexScanConcurrency() |
long |
getIngestTimeout() |
static int |
getInt(String key) |
static Optional<Integer> |
getIntOption(String key) |
Kvrpcpb.IsolationLevel |
getIsolationLevel() |
String |
getJksKeyPassword() |
String |
getJksKeyPath() |
String |
getJksTrustPassword() |
String |
getJksTrustPath() |
int |
getKeepaliveTime() |
int |
getKeepaliveTimeout() |
String |
getKeyCertChainFile() |
String |
getKeyFile() |
int |
getKvClientConcurrency() |
TiConfiguration.KVMode |
getKvMode() |
int |
getMaxFrameSize() |
int |
getMetricsPort() |
String |
getNetworkMappingName() |
List<URI> |
getPdAddrs() |
String |
getPdAddrsString() |
long |
getPdFirstGetMemberTimeout() |
Integer |
getRawKVBatchReadSlowLogInMS() |
int |
getRawKVBatchReadTimeoutInMS() |
Integer |
getRawKVBatchWriteSlowLogInMS() |
int |
getRawKVBatchWriteTimeoutInMS() |
int |
getRawKVCleanTimeoutInMS() |
int |
getRawKVDefaultBackoffInMS() |
Integer |
getRawKVReadSlowLogInMS() |
int |
getRawKVReadTimeoutInMS() |
int |
getRawKVScanSlowLogInMS() |
int |
getRawKVScanTimeoutInMS() |
double |
getRawKVServerSlowLogFactor() |
Integer |
getRawKVWriteSlowLogInMS() |
int |
getRawKVWriteTimeoutInMS() |
TiConfiguration.ReplicaRead |
getReplicaRead() |
ReplicaSelector |
getReplicaSelector() |
int |
getScanBatchSize() |
int |
getScanRegionsLimit() |
long |
getScanTimeout() |
int |
getScatterWaitSeconds() |
int |
getTableScanConcurrency() |
long |
getTimeout() |
String |
getTrustCertCollectionFile() |
long |
getWarmUpTimeout() |
boolean |
ifShowRowId() |
boolean |
isCircuitBreakEnable() |
boolean |
isEnableAtomicForCAS() |
boolean |
isJksEnable() |
boolean |
isMetricsEnable() |
boolean |
isRawKVMode() |
boolean |
isTest() |
boolean |
isTiFlashEnabled() |
boolean |
isTlsEnable() |
boolean |
isTxnKVMode() |
boolean |
isWarmUpEnable() |
static void |
listAll() |
static <E> String |
listToString(List<E> list) |
TiConfiguration |
setApiVersion(TiConfiguration.ApiVersion version) |
TiConfiguration |
setBatchDeleteConcurrency(int batchDeleteConcurrency) |
TiConfiguration |
setBatchGetConcurrency(int batchGetConcurrency) |
TiConfiguration |
setBatchPutConcurrency(int batchPutConcurrency) |
TiConfiguration |
setBatchScanConcurrency(int batchScanConcurrency) |
TiConfiguration |
setCertReloadIntervalInSeconds(long interval) |
void |
setCircuitBreakAttemptRequestCount(int circuitBreakAttemptRequestCount) |
void |
setCircuitBreakAvailabilityErrorThresholdPercentage(int circuitBreakAvailabilityErrorThresholdPercentage) |
void |
setCircuitBreakAvailabilityRequestVolumnThreshold(int circuitBreakAvailabilityRequestVolumnThreshold) |
void |
setCircuitBreakAvailabilityWindowInSeconds(int circuitBreakAvailabilityWindowInSeconds) |
void |
setCircuitBreakEnable(boolean circuitBreakEnable) |
void |
setCircuitBreakSleepWindowInSeconds(int circuitBreakSleepWindowInSeconds) |
TiConfiguration |
setCommandPriority(Kvrpcpb.CommandPri commandPriority) |
TiConfiguration |
setConnRecycleTimeInSeconds(int connRecycleTime) |
TiConfiguration |
setDBPrefix(String dbPrefix) |
TiConfiguration |
setDeleteRangeConcurrency(int deleteRangeConcurrency) |
void |
setEnableAtomicForCAS(boolean enableAtomicForCAS) |
void |
setEnableGrpcForward(boolean enableGrpcForward) |
TiConfiguration |
setForwardTimeout(long timeout) |
void |
setGrpcHealthCheckTimeout(int grpcHealthCheckTimeout) |
void |
setHealthCheckPeriodDuration(int healthCheckPeriodDuration) |
void |
setHostMapping(HostMapping mapping) |
void |
setIdleTimeout(int timeout) |
void |
setImporterMaxKVBatchBytes(int importerMaxKVBatchBytes) |
void |
setImporterMaxKVBatchSize(int importerMaxKVBatchSize) |
TiConfiguration |
setIndexScanBatchSize(int indexScanBatchSize) |
TiConfiguration |
setIndexScanConcurrency(int indexScanConcurrency) |
void |
setIngestTimeout(long ingestTimeout) |
TiConfiguration |
setIsolationLevel(Kvrpcpb.IsolationLevel isolationLevel) |
void |
setJksEnable(boolean useJks) |
void |
setJksKeyPassword(String jksKeyPassword) |
void |
setJksKeyPath(String jksKeyPath) |
void |
setJksTrustPassword(String jksTrustPassword) |
void |
setJksTrustPath(String jksTrustPath) |
void |
setKeepaliveTime(int keepaliveTime) |
void |
setKeepaliveTimeout(int timeout) |
void |
setKeyCertChainFile(String keyCertChainFile) |
void |
setKeyFile(String keyFile) |
TiConfiguration |
setKvClientConcurrency(int kvClientConcurrency) |
TiConfiguration |
setKvMode(String kvMode) |
TiConfiguration |
setMaxFrameSize(int maxFrameSize) |
TiConfiguration |
setMetricsEnable(boolean metricsEnable) |
TiConfiguration |
setMetricsPort(int metricsPort) |
void |
setPdFirstGetMemberTimeout(long pdFirstGetMemberTimeout) |
void |
setRawKVBatchReadSlowLogInMS(Integer rawKVBatchReadSlowLogInMS) |
void |
setRawKVBatchReadTimeoutInMS(int rawKVBatchReadTimeoutInMS) |
void |
setRawKVBatchWriteSlowLogInMS(Integer rawKVBatchWriteSlowLogInMS) |
void |
setRawKVBatchWriteTimeoutInMS(int rawKVBatchWriteTimeoutInMS) |
void |
setRawKVCleanTimeoutInMS(int rawKVCleanTimeoutInMS) |
void |
setRawKVDefaultBackoffInMS(int rawKVDefaultBackoffInMS) |
void |
setRawKVReadSlowLogInMS(Integer rawKVReadSlowLogInMS) |
void |
setRawKVReadTimeoutInMS(int rawKVReadTimeoutInMS) |
void |
setRawKVScanSlowLogInMS(int rawKVScanSlowLogInMS) |
void |
setRawKVScanTimeoutInMS(int rawKVScanTimeoutInMS) |
void |
setRawKVServerSlowLogFactor(double rawKVServerSlowLogFactor) |
void |
setRawKVWriteSlowLogInMS(Integer rawKVWriteSlowLogInMS) |
void |
setRawKVWriteTimeoutInMS(int rawKVWriteTimeoutInMS) |
TiConfiguration |
setReplicaRead(TiConfiguration.ReplicaRead replicaRead) |
void |
setReplicaSelector(ReplicaSelector replicaSelector) |
void |
setScanRegionsLimit(int scanRegionsLimit) |
TiConfiguration |
setScanTimeout(long scanTimeout) |
void |
setScatterWaitSeconds(int scatterWaitSeconds) |
TiConfiguration |
setShowRowId(boolean flag) |
TiConfiguration |
setTableScanConcurrency(int tableScanConcurrency) |
void |
setTest(boolean test) |
TiConfiguration |
setTimeout(long timeout) |
void |
setTlsEnable(boolean tlsEnable) |
void |
setTrustCertCollectionFile(String trustCertCollectionFile) |
void |
setWarmUpEnable(boolean warmUpEnable) |
TiConfiguration |
setWarmUpTimeout(long timeout) |