org.apache.jmeter.timers

Interface Timer

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

public interface Timer
extends Serializable

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

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 Details

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.

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