Class Delay

    • Constructor Detail

      • Delay

        public Delay​(TimeUnit timeUnit,
                     long value)
    • Method Detail

      • milliseconds

        public static Delay milliseconds​(long value)
      • seconds

        public static Delay seconds​(long value)
      • minutes

        public static Delay minutes​(long value)
      • delay

        public static Delay delay​(TimeUnit timeUnit,
                                  long value)
      • getTimeUnit

        public TimeUnit getTimeUnit()
      • getValue

        public long getValue()
      • applyDelay

        public void applyDelay()