public static long getPauseTime(final long pause, final int tries) {
    int ntries = tries;
    if (ntries >= HConstants.RETRY_BACKOFF.length) {
      ntries = HConstants.RETRY_BACKOFF.length - 1;
    }
    if (ntries < 0) {
      ntries = 0;
    }

    long normalPause = pause * HConstants.RETRY_BACKOFF[ntries];
    // 1% possible jitter
    long jitter = (long) (normalPause * ThreadLocalRandom.current().nextFloat() * 0.01f);
    return normalPause + jitter;
  }
Calculate pause time. Built on {@link HConstants#RETRY_BACKOFF}.
@param pause time to pause
@param tries amount of tries
@return How long to wait after <code>tries</code> retries
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionUtils.java