com.clarkware.junitperf

Class ConstantTimer

public class ConstantTimer extends Object implements Timer

The ConstantTimer is a Timer with a constant delay.

Author: Mike Clark Clarkware Consulting, Inc.

See Also: Timer

Constructor Summary
ConstantTimer(long delay)
Constructs a ConstantTimer with the specified delay.
Method Summary
longgetDelay()
Returns the timer delay.

Constructor Detail

ConstantTimer

public ConstantTimer(long delay)
Constructs a ConstantTimer with the specified delay.

Parameters: delay Delay (in milliseconds).

Method Detail

getDelay

public long getDelay()
Returns the timer delay.

Returns: Delay (in milliseconds).

Copyright B) 1999-2005 Clarkware Consulting, Inc.