org.apache.hadoop.hbase.util
Class RetryCounter.ExponentialBackoffPolicyWithLimit

java.lang.Object
  extended by org.apache.hadoop.hbase.util.RetryCounter.BackoffPolicy
      extended by org.apache.hadoop.hbase.util.RetryCounter.ExponentialBackoffPolicy
          extended by org.apache.hadoop.hbase.util.RetryCounter.ExponentialBackoffPolicyWithLimit
Enclosing class:
RetryCounter

public static class RetryCounter.ExponentialBackoffPolicyWithLimit
extends RetryCounter.ExponentialBackoffPolicy


Constructor Summary
RetryCounter.ExponentialBackoffPolicyWithLimit()
           
 
Method Summary
 long getBackoffTime(RetryCounter.RetryConfig config, int attempts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetryCounter.ExponentialBackoffPolicyWithLimit

public RetryCounter.ExponentialBackoffPolicyWithLimit()
Method Detail

getBackoffTime

public long getBackoffTime(RetryCounter.RetryConfig config,
                           int attempts)
Overrides:
getBackoffTime in class RetryCounter.ExponentialBackoffPolicy


Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.