Class TimerDelay

    • Constructor Detail

      • TimerDelay

        public TimerDelay​(BackOff backOff,
                          Timer timer)
    • Method Detail

      • after

        public void after​(Runnable task,
                          Executor executor)
        Description copied from interface: AsyncDelay
        Runs the task after delay on given Executor. If given executor is null, the task is executed on an implementation-defined thread.
        Specified by:
        after in interface AsyncDelay