Java 类org.apache.hadoop.hbase.util.RetryCounter.ExponentialBackoffPolicy 实例源码

项目:pbase    文件:RetryCounterFactory.java   
public RetryCounterFactory(int maxAttempts, int sleepIntervalMillis) {
  this(new RetryConfig(
    maxAttempts,
    sleepIntervalMillis,
    -1,
    TimeUnit.MILLISECONDS,
    new ExponentialBackoffPolicy()));
}
项目:HIndex    文件:RetryCounterFactory.java   
public RetryCounterFactory(int maxAttempts, int sleepIntervalMillis) {
  this(new RetryConfig(
    maxAttempts,
    sleepIntervalMillis,
    -1,
    TimeUnit.MILLISECONDS,
    new ExponentialBackoffPolicy()));
}
项目:PyroDB    文件:RetryCounterFactory.java   
public RetryCounterFactory(int maxAttempts, int sleepIntervalMillis) {
  this(new RetryConfig(
    maxAttempts,
    sleepIntervalMillis,
    -1,
    TimeUnit.MILLISECONDS,
    new ExponentialBackoffPolicy()));
}
项目:c5    文件:RetryCounterFactory.java   
public RetryCounterFactory(int maxAttempts, int sleepIntervalMillis) {
  this(new RetryConfig(
    maxAttempts,
    sleepIntervalMillis,
    -1,
    TimeUnit.MILLISECONDS,
    new ExponentialBackoffPolicy()));
}