Apache JMeter

org.apache.jmeter.timers
Interface Timer

All Superinterfaces:
Serializable
All Known Implementing Classes:
BeanShellTimer, ConstantThroughputTimer, ConstantTimer, RandomTimer, SyncTimer

public interface Timer
extends Serializable

This interface defines those methods that must be implemented by timer plugins.

Version:
$Id: Timer.java 493779 2007-01-07 17:46:38Z sebb $
Author:
Stefano Mazzocchi, Scott Eade

Method Summary
 long delay()
          This method is called after a sampling process is done to know how much time the sampling thread has to wait until sampling again.
 

Method Detail

delay

public long delay()
This method is called after a sampling process is done to know how much time the sampling thread has to wait until sampling again.

Returns:
the computed delay value.

Apache JMeter

Copyright © 1998-2008 Apache Software Foundation. All Rights Reserved.