Class AsynchSampleSender

java.lang.Object
org.apache.jmeter.samplers.AbstractSampleSender
org.apache.jmeter.samplers.AsynchSampleSender
All Implemented Interfaces:
Serializable, SampleSender

public class AsynchSampleSender extends AbstractSampleSender implements Serializable
Sends samples in a separate Thread and in Batch mode
See Also:
  • Constructor Details

    • AsynchSampleSender

      @Deprecated public AsynchSampleSender()
      Deprecated.
      only for use by test code
    • AsynchSampleSender

      protected AsynchSampleSender(RemoteSampleListener listener)
  • Method Details

    • readResolve

      protected Object readResolve() throws ObjectStreamException
      Processed by the RMI server code.
      Returns:
      this
      Throws:
      ObjectStreamException - never
    • 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