public abstract class RetryPolicy<RespT> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
RetryPolicy.Builder<T> |
Modifier and Type | Field and Description |
---|---|
static io.prometheus.client.Histogram |
CALL_WITH_RETRY_DURATION |
static io.prometheus.client.Counter |
GRPC_REQUEST_RETRY_NUM |
static io.prometheus.client.Histogram |
GRPC_SINGLE_REQUEST_LATENCY |
Modifier and Type | Method and Description |
---|---|
RespT |
callWithRetry(Callable<RespT> proc,
String methodName,
BackOffer backOffer) |
public static final io.prometheus.client.Histogram GRPC_SINGLE_REQUEST_LATENCY
public static final io.prometheus.client.Histogram CALL_WITH_RETRY_DURATION
public static final io.prometheus.client.Counter GRPC_REQUEST_RETRY_NUM
Copyright © 2024 PingCAP. All rights reserved.