Home » jakarta-jmeter-2.3.4_src » org.apache.jmeter.samplers » [javadoc | source]
org.apache.jmeter.samplers
public class: StatisticalSampleSender [javadoc | source]
java.lang.Object
   org.apache.jmeter.samplers.StatisticalSampleSender

All Implemented Interfaces:
    Serializable, SampleSender

Implements batch reporting for remote testing.
Constructor:
 public StatisticalSampleSender() 
 StatisticalSampleSender(RemoteSampleListener listener) 
    Constructor
    Parameters:
    listener - that the List of sample events will be sent to.
Method from org.apache.jmeter.samplers.StatisticalSampleSender Summary:
sampleOccurred,   testEnded,   testEnded
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jmeter.samplers.StatisticalSampleSender Detail:
 public  void sampleOccurred(SampleEvent e) 
    Stores sample events untill either a time or sample threshold is breached. Both thresholds are reset if one fires. If only one threshold is set it becomes the only value checked against. When a threhold is breached the list of sample events is sent to a listener where the event are fired locally.
 public  void testEnded() 
    Checks if any sample events are still present in the sampleStore and sends them to the listener. Informs the listener of the testended.
 public  void testEnded(String host) 
    Checks if any sample events are still present in the sampleStore and sends them to the listener. Informs the listener of the testended.