public class SampleTimeout extends AbstractTestElement implements Serializable, ThreadListener, SampleMonitor
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS
Constructor and Description |
---|
SampleTimeout()
No-arg constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getTimeout()
Get the timeout value for display.
|
void |
sampleEnded(Sampler sampler)
Will be called when a sample has just finished
|
void |
sampleStarting(Sampler sampler)
Will be called when a sample is about to start
|
void |
setTimeout(String timeout)
Set the timeout for this timer.
|
void |
threadFinished()
Called for each thread after all samples have been processed.
|
void |
threadStarted()
Called for each thread before starting sampling.
|
String |
toString()
Provide a description of this class.
|
addPropertiesValues, addProperty, addProperty, addTestElement, canRemove, clear, clearTemporary, clearTestElementChildren, clone, emptyTemporary, equals, getComment, getName, getProperty, getPropertyAsBoolean, getPropertyAsBoolean, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsInt, getPropertyAsLong, getPropertyAsLong, getPropertyAsString, getPropertyAsString, 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, traverseProperty
finalize, getClass, notify, notifyAll, wait, wait, wait
removed
public void setTimeout(String timeout)
timeout
- The timeout for this timerpublic String getTimeout()
public void sampleStarting(Sampler sampler)
SampleMonitor
sampleStarting
in interface SampleMonitor
sampler
- sample that will be startedpublic void sampleEnded(Sampler sampler)
SampleMonitor
sampleEnded
in interface SampleMonitor
sampler
- finished samplepublic void threadStarted()
ThreadListener
threadStarted
in interface ThreadListener
public void threadFinished()
ThreadListener
threadFinished
in interface ThreadListener
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.