Class Delay

    • 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)
      • uniform

        public static Delay uniform​(TimeUnit timeUnit,
                                    long min,
                                    long max)
      • logNormal

        public static Delay logNormal​(TimeUnit timeUnit,
                                      long median,
                                      long p99)
      • gaussian

        public static Delay gaussian​(TimeUnit timeUnit,
                                     long mean,
                                     long stdDev)
      • getTimeUnit

        public TimeUnit getTimeUnit()
      • getValue

        public long getValue()
      • sampleValueMillis

        public long sampleValueMillis()
      • applyDelay

        public void applyDelay()