| java.lang.Object com.clarkware.junitperf.RandomTimer
RandomTimer | public class RandomTimer implements Timer(Code) | | The RandomTimer is a Timer
with a random delay and a uniformly distributed variation.
author: Mike Clark author: Clarkware Consulting, Inc. See Also: com.clarkware.junitperf.Timer |
Constructor Summary | |
public | RandomTimer(long delay, double variation) Constructs a RandomTimer with the
specified minimum delay and variation. |
Method Summary | |
public long | getDelay() Returns the timer delay. |
RandomTimer | public RandomTimer(long delay, double variation)(Code) | | Constructs a RandomTimer with the
specified minimum delay and variation.
Parameters: delay - Minimum delay (ms). Parameters: variation - Variation (ms). |
getDelay | public long getDelay()(Code) | | Returns the timer delay.
Delay (ms). |
|
|