1
package com.clarkware.junitperf;
4
* The <code>ConstantTimer</code> is a <code>Timer</code>
5
* with a constant delay.
7
* @author <b>Mike Clark</b>
8
* @author Clarkware Consulting, Inc.
10
* @see com.clarkware.junitperf.Timer
13
public class ConstantTimer implements Timer {
15
private final long delay;
18
* Constructs a <code>ConstantTimer</code> with the
21
* @param delay Delay (in milliseconds).
23
public ConstantTimer(long delay) {
28
* Returns the timer delay.
30
* @return Delay (in milliseconds).
32
public long getDelay() {