public int getMaxAttempts() {
    return retryConfig.getMaxAttempts();
  }
Policy for calculating sleeping intervals between retry attempts
hbase-common/src/main/java/org/apache/hadoop/hbase/util/RetryCounter.java