Class SimpleTaskRetryLooper


  • public class SimpleTaskRetryLooper
    extends Object
    Created by mirehak on 4/28/15.
    • Constructor Detail

      • SimpleTaskRetryLooper

        public SimpleTaskRetryLooper​(long tick,
                                     int maxRetries)
        It retries the task passed to its method loopUntilNoException a number of times (maxRetries).
        Parameters:
        tick - sleep between steps in miliseconds
        maxRetries - retries limit