| Package | Description |
|---|---|
| org.apache.hadoop.hbase.util |
| Modifier and Type | Method and Description |
|---|---|
RetryCounter.RetryConfig |
RetryCounter.RetryConfig.setBackoffPolicy(RetryCounter.BackoffPolicy backoffPolicy) |
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 © 2014 The Apache Software Foundation. All rights reserved.