org.apache.jmeter.timers
Class GaussianRandomTimer
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.timers.ConstantTimer
org.apache.jmeter.timers.RandomTimer
org.apache.jmeter.timers.GaussianRandomTimer
- All Implemented Interfaces:
- Cloneable, LoopIterationListener, Serializable, TestElement, Timer
- public class GaussianRandomTimer
- extends RandomTimer
- implements Serializable
This class implements those methods needed by RandomTimer
to be instantiable and implements a random delay with
an average value and a gaussian distributed variation.
- Version:
- $Id: GaussianRandomTimer.java,v 1.4 2004/02/13 01:39:06 sebb Exp $
- Author:
- Stefano Mazzocchi, Scott Eade
- See Also:
- Serialized Form
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. |
String |
toString()
Provide a description of this timer class. |
Methods inherited from class org.apache.jmeter.testelement.AbstractTestElement |
addProperty, addTestElement, canRemove, clear, clearTemporary, clone, emptyTemporary, equals, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsLong, getPropertyAsString, getThreadContext, getThreadName, isRunningVersion, isTemporary, logProperties, mergeIn, nextIsNull, propertyIterator, recoverRunningVersion, removeProperty, setName, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, threadFinished, threadStarted, traverse, traverseCollection, traverseMap, traverseProperty |
GaussianRandomTimer
public GaussianRandomTimer()
delay
public long delay()
- Description copied from interface:
Timer
- This method is called after a sampling process is done to know how much
time the sampling thread has to wait until sampling again.
- Specified by:
delay
in interface Timer
- Overrides:
delay
in class ConstantTimer
- Returns:
- the delay.
toString
public String toString()
- Description copied from class:
ConstantTimer
- Provide a description of this timer class.
- Overrides:
toString
in class ConstantTimer
- Returns:
- the description of this timer class.
Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.