Apache JMeter

Class HoldSampleSender

  extended by org.apache.jmeter.samplers.AbstractSampleSender
      extended by org.apache.jmeter.samplers.HoldSampleSender
All Implemented Interfaces:
Serializable, SampleSender

public class HoldSampleSender
extends AbstractSampleSender
implements Serializable

Lars-Erik Helander provided the idea (and original implementation) for the caching functionality (sampleStore).

See Also:
Serialized Form

Constructor Summary
          Deprecated. only for use by test code
Method Summary
 void sampleOccurred(SampleEvent e)
          A sample occurred.
 void testEnded(String host)
          The test ended.
Methods inherited from class org.apache.jmeter.samplers.AbstractSampleSender
isClientConfigured, testEnded
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public HoldSampleSender()
Deprecated. only for use by test code

Method Detail


public void testEnded(String host)
Description copied from interface: SampleSender
The test ended. This will be called from the engine thread.

Specified by:
testEnded in interface SampleSender
host - the host that the test ended on.


public void sampleOccurred(SampleEvent e)
Description copied from interface: SampleSender
A sample occurred. This method will be called from the sampler thread.

Specified by:
sampleOccurred in interface SampleSender
e - a Sample Event

Apache JMeter

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