Class RetryOnException


  • public class RetryOnException
    extends java.lang.Object
    • Constructor Detail

      • RetryOnException

        public RetryOnException​(int numberOfRetries)
    • Method Detail

      • getNumberOfTriesLeft

        public int getNumberOfTriesLeft()
      • shouldRetry

        public boolean shouldRetry()
      • decrementAndRetry

        public boolean decrementAndRetry()
      • errorOccured

        public void errorOccured()
      • errorOccured

        public void errorOccured​(int decrementTries)
      • getTimeToWait

        public long getTimeToWait()