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)
A sample has just finished
|
void |
sampleStarting(Sampler sampler)
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
public void setTimeout(String timeout)
timeout
- The timeout for this timerpublic String getTimeout()
public void sampleStarting(Sampler sampler)
SampleMonitor
sampleStarting
in interface SampleMonitor
public void sampleEnded(Sampler sampler)
SampleMonitor
sampleEnded
in interface SampleMonitor
public void threadStarted()
ThreadListener
threadStarted
in interface ThreadListener
JMeterThread.threadStarted()
public void threadFinished()
ThreadListener
threadFinished
in interface ThreadListener
JMeterThread.threadFinished(org.apache.jmeter.engine.event.LoopIterationListener)
Copyright © 1998-2016 Apache Software Foundation. All Rights Reserved.