Class ConstantThrottle

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

public class ConstantThrottle extends Object implements Throttle
Class to implement MillisecondsThrottle
  • Constructor Details

    • ConstantThrottle

      public ConstantThrottle(long milliseconds)
      Constructor
      Parameters:
      milliseconds - milliseconds
  • Method Details

    • throttle

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