Package 

Class RetryTimer


  • 
    public class RetryTimer
    
                        

    Class to manage retry timing for event sending

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public interface RetryTimer.RetryTimerListener

      Listener of this retry Timer

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static String TAG
    • Method Summary

      Modifier and Type Method Description
      boolean isWaiting() Is the retry timer currently waiting for a retry
      void reschedule() Schedule a retry for the current taskMethod to call when a send of events has failed
      void reset() Reset all flags of this retry timerMethod to call when a send of events succeed or whenthis retry timer has reached the max retries threshold
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isWaiting

         boolean isWaiting()

        Is the retry timer currently waiting for a retry

      • reschedule

         void reschedule()

        Schedule a retry for the current taskMethod to call when a send of events has failed

      • reset

         void reset()

        Reset all flags of this retry timerMethod to call when a send of events succeed or whenthis retry timer has reached the max retries threshold