Class StaggeredDelay


  • public final class StaggeredDelay
    extends java.lang.Object
    Retry an action in the UI thread after a delay, with random staggering to prevent multiple simultaneous
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void then​(int delayMin, int staggerLimit, java.lang.Runnable action)  
      static void then​(int delayMin, java.lang.Runnable action)  
      static void then​(java.lang.Runnable action)  
      • Methods inherited from class java.lang.Object

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

      • then

        public static void then​(java.lang.Runnable action)
      • then

        public static void then​(int delayMin,
                                java.lang.Runnable action)
      • then

        public static void then​(int delayMin,
                                int staggerLimit,
                                java.lang.Runnable action)