Package org.apache.jmeter.timers
Class ConstantTimer
java.lang.Object
org.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.timers.ConstantTimer
- All Implemented Interfaces:
- Serializable,- Cloneable,- Searchable,- org.apache.jmeter.testelement.TestElement,- Timer
- Direct Known Subclasses:
- RandomTimer
This class implements a constant timer with its own panel and fields for
 value update and user interaction.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.jmeter.testelement.TestElementorg.apache.jmeter.testelement.TestElement.Companion
- 
Field SummaryFieldsFields inherited from interface org.apache.jmeter.testelement.TestElementCOMMENTS, Companion, ENABLED, GUI_CLASS, NAME, TEST_CLASS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongdelay()Retrieve the delay to use during test execution.getDelay()Get the delay value for display.doublegetRange()Retrieve the range (not used for this timer).voidSet the delay for this timer.voidsetRange(double range) Set the range (not used for this timer).toString()Provide a description of this timer class.Methods inherited from class org.apache.jmeter.testelement.AbstractTestElementaddPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, getPropertyOrNull, getSearchableTokens, getThreadContext, getThreadName, hashCode, isEnabled, isRunningVersion, isTemporary, logProperties, mergeIn, propertyIterator, recoverRunningVersion, removeProperty, setComment, setEnabled, setName, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setRunningVersion, setTemporary, setThreadContext, setThreadName, traverse, traverseCollection, traverseMap, traversePropertyMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jmeter.testelement.TestElementget, get, get, get, get, get, get, get, get, getOrCreate, getOrCreate, getOrNull, getOrNull, getOrNull, getPropertyOrNull, getProps, getSchema, getString, removed, removeProperty, set, set, set, set, set, set, set, set, setMethods inherited from interface org.apache.jmeter.timers.TimerisModifiable
- 
Field Details- 
DELAY- See Also:
 
 
- 
- 
Constructor Details- 
ConstantTimerpublic ConstantTimer()No-arg constructor.
 
- 
- 
Method Details- 
setDelaySet the delay for this timer.- Parameters:
- delay- The delay for this timer
 
- 
setRangepublic void setRange(double range) Set the range (not used for this timer).- Parameters:
- range- Not used
 
- 
getDelayGet the delay value for display.- Returns:
- the delay value for display.
 
- 
getRangepublic double getRange()Retrieve the range (not used for this timer).- Returns:
- the range (always zero for this timer).
 
- 
delaypublic long delay()Retrieve the delay to use during test execution.
- 
toStringProvide a description of this timer class.
 
-