public boolean isRetry() {
    return attempts > 0;
  }
Sleep for a back off time as supplied by the backoff policy, and increases the attempts
hbase-common/src/main/java/org/apache/hadoop/hbase/util/RetryCounter.java