Package alluxio.retry

Set of utilities for working with retryable operations. The main entrypoint is RetryPolicy which is designed to work with while loops.

Example

 {
   @code
   RetryPolicy retry = new ExponentialBackoffRetry(50, Constants.SECOND_MS, MAX_CONNECT_TRY);
   while (retry.attempt()) {
     // work to retry
   }
 }