Class HoldSampleSender

java.lang.Object
org.apache.jmeter.samplers.AbstractSampleSender
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:
  • Constructor Details

    • HoldSampleSender

      @Deprecated public HoldSampleSender()
      Deprecated.
      only for use by test code
  • Method Details

    • testEnded

      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
      Parameters:
      host - the host that the test ended on.
    • sampleOccurred

      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
      Parameters:
      e - a Sample Event
    • readResolve

      protected Object readResolve() throws ObjectStreamException
      Processed by the RMI server code; acts as testStarted().
      Returns:
      this
      Throws:
      ObjectStreamException - never