public interface BackOffer
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
BackOffer.BackOffStrategy |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BATCH_COMMIT_BACKOFF |
static int |
BATCH_GET_MAX_BACKOFF |
static int |
CLEANUP_MAX_BACKOFF |
static int |
COP_BUILD_TASK_MAX_BACKOFF |
static int |
COP_NEXT_MAX_BACKOFF |
static int |
GC_DELETE_RANGE_MAX_BACKOFF |
static int |
GC_ONE_REGION_MAX_BACKOFF |
static int |
GC_RESOLVE_LOCK_MAX_BACKOFF |
static int |
GET_MAX_BACKOFF |
static int |
PD_INFO_BACKOFF |
static int |
PREWRITE_MAX_BACKOFF |
static int |
RAWKV_MAX_BACKOFF |
static int |
ROW_ID_ALLOCATOR_BACKOFF |
static int |
SCANNER_NEXT_MAX_BACKOFF |
static int |
seconds |
static int |
SPLIT_REGION_BACKOFF |
static int |
TSO_MAX_BACKOFF |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doBackOff(BackOffFunction.BackOffFuncType funcType,
Exception err)
doBackOff sleeps a while base on the BackOffType and records the error message.
|
void |
doBackOffWithMaxSleep(BackOffFunction.BackOffFuncType funcType,
long maxSleepMs,
Exception err)
BackoffWithMaxSleep sleeps a while base on the backoffType and records the error message and
never sleep more than maxSleepMs for each sleep.
|
static final int seconds
static final int COP_BUILD_TASK_MAX_BACKOFF
static final int TSO_MAX_BACKOFF
static final int SCANNER_NEXT_MAX_BACKOFF
static final int BATCH_GET_MAX_BACKOFF
static final int COP_NEXT_MAX_BACKOFF
static final int GET_MAX_BACKOFF
static final int PREWRITE_MAX_BACKOFF
static final int CLEANUP_MAX_BACKOFF
static final int GC_ONE_REGION_MAX_BACKOFF
static final int GC_RESOLVE_LOCK_MAX_BACKOFF
static final int GC_DELETE_RANGE_MAX_BACKOFF
static final int RAWKV_MAX_BACKOFF
static final int SPLIT_REGION_BACKOFF
static final int BATCH_COMMIT_BACKOFF
static final int PD_INFO_BACKOFF
static final int ROW_ID_ALLOCATOR_BACKOFF
void doBackOff(BackOffFunction.BackOffFuncType funcType, Exception err)
void doBackOffWithMaxSleep(BackOffFunction.BackOffFuncType funcType, long maxSleepMs, Exception err)
Copyright © 2022 PingCAP. All rights reserved.