Class ExponentialBackoffThrottle

java.lang.Object
org.antublue.test.engine.extras.throttle.ExponentialBackoffThrottle
All Implemented Interfaces:
Throttle

public class ExponentialBackoffThrottle extends Object implements Throttle
Class to implement ExponentialBackupThrottle
  • Constructor Details

    • ExponentialBackoffThrottle

      public ExponentialBackoffThrottle(long minimumMilliseconds, long maximumMilliseconds)
      Constructor
      Parameters:
      minimumMilliseconds - minimumMilliseconds
      maximumMilliseconds - maximumMilliseconds
  • Method Details

    • throttle

      public void throttle()
      Description copied from interface: Throttle
      Method to throttle the current thread
      Specified by:
      throttle in interface Throttle