Class SleepTimer

    • Constructor Detail

      • SleepTimer

        public SleepTimer​(int min,
                          int max)
      • SleepTimer

        public SleepTimer​(int period)
      • SleepTimer

        public SleepTimer​(long period)
    • Method Detail

      • complete

        public void complete()
        Called on successful completion.
        Specified by:
        complete in interface Completion
      • run

        public void run()
        Called every iteration and called before Completable.isDone() so it runs atleast once.
      • sleep

        public boolean sleep()
      • sleep

        public boolean sleep​(int iteration)