Skip navigation links

Package alluxio.retry

Set of utilities for working with retryable operations.

See: Description

Package alluxio.retry Description

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
   }
 }
 
Skip navigation links

Copyright © 2023. All Rights Reserved.