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

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

public static class RetryCounter.BackoffPolicy
extends Object

Policy for calculating sleeping intervals between retry attempts


Constructor Summary
RetryCounter.BackoffPolicy()
           
 
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.BackoffPolicy

public RetryCounter.BackoffPolicy()
Method Detail

getBackoffTime

public long getBackoffTime(RetryCounter.RetryConfig config,
                           int attempts)


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