Interface RetryPolicy

    • Method Summary

      Modifier and Type Method Description
      void attempt​(Callable<Boolean> operation)
      Attempts to do the operation until it succeeds, aborting if an exception is thrown by the operation or number of attempts exhausted.