Package | Description |
---|---|
org.apache.hadoop.hbase.util |
Modifier and Type | Field and Description |
---|---|
private RetryCounter.RetryConfig |
RetryCounter.retryConfig |
private RetryCounter.RetryConfig |
RetryCounterFactory.retryConfig |
Modifier and Type | Method and Description |
---|---|
RetryCounter.RetryConfig |
RetryCounter.RetryConfig.setBackoffPolicy(RetryCounter.BackoffPolicy backoffPolicy) |
RetryCounter.RetryConfig |
RetryCounter.RetryConfig.setJitter(float jitter) |
RetryCounter.RetryConfig |
RetryCounter.RetryConfig.setMaxAttempts(int maxAttempts) |
RetryCounter.RetryConfig |
RetryCounter.RetryConfig.setMaxSleepTime(long maxSleepTime) |
RetryCounter.RetryConfig |
RetryCounter.RetryConfig.setSleepInterval(long sleepInterval) |
RetryCounter.RetryConfig |
RetryCounter.RetryConfig.setTimeUnit(TimeUnit timeUnit) |
Modifier and Type | Method and Description |
---|---|
long |
RetryCounter.BackoffPolicy.getBackoffTime(RetryCounter.RetryConfig config,
int attempts) |
long |
RetryCounter.ExponentialBackoffPolicy.getBackoffTime(RetryCounter.RetryConfig config,
int attempts) |
long |
RetryCounter.ExponentialBackoffPolicyWithLimit.getBackoffTime(RetryCounter.RetryConfig config,
int attempts) |
Constructor and Description |
---|
RetryCounter(RetryCounter.RetryConfig retryConfig) |
RetryCounterFactory(RetryCounter.RetryConfig retryConfig) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.