public class RemoteSampleListenerImpl extends java.rmi.server.UnicastRemoteObject implements RemoteSampleListener, SampleListener, TestStateListener
Constructor and Description |
---|
RemoteSampleListenerImpl(java.lang.Object listener) |
Modifier and Type | Method and Description |
---|---|
void |
processBatch(java.util.List<SampleEvent> samples)
This method is called remotely and fires a list of samples events
received locally.
|
void |
sampleOccurred(SampleEvent e)
A sample has started and stopped.
|
void |
sampleStarted(SampleEvent e)
A sample has started.
|
void |
sampleStopped(SampleEvent e)
A sample has stopped.
|
void |
testEnded()
Called once for all threads after the end of a test.
|
void |
testEnded(java.lang.String host)
Called once for all threads after the end of a test.
|
void |
testStarted()
Called just before the start of the test from the main engine thread.
|
void |
testStarted(java.lang.String host)
Called just before the start of the test from the main engine thread.
|
clone, exportObject, exportObject, exportObject, unexportObject
public RemoteSampleListenerImpl(java.lang.Object listener) throws java.rmi.RemoteException
java.rmi.RemoteException
public void testStarted()
TestStateListener
Called just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
testStarted
in interface RemoteSampleListener
testStarted
in interface TestStateListener
StandardJMeterEngine.run()
public void testStarted(java.lang.String host)
TestStateListener
Called just before the start of the test from the main engine thread. This is before the test elements are cloned. Note that not all the test variables will have been set up at this point.
N.B. testStarted() and testEnded() are called from different threads.
testStarted
in interface RemoteSampleListener
testStarted
in interface TestStateListener
host
- name of hostStandardJMeterEngine.run()
public void testEnded()
TestStateListener
Called once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
testEnded
in interface RemoteSampleListener
testEnded
in interface TestStateListener
StandardJMeterEngine.stopTest()
public void testEnded(java.lang.String host)
TestStateListener
Called once for all threads after the end of a test. This will use the same element instances as at the start of the test.
N.B. testStarted() and testEnded() are called from different threads.
testEnded
in interface RemoteSampleListener
testEnded
in interface TestStateListener
host
- name of hostStandardJMeterEngine.stopTest()
public void processBatch(java.util.List<SampleEvent> samples)
processBatch
in interface RemoteSampleListener
samples
- the list of sample events to be fired locallypublic void sampleOccurred(SampleEvent e)
RemoteSampleListener
sampleOccurred
in interface RemoteSampleListener
sampleOccurred
in interface SampleListener
e
- the event with data about the completed samplepublic void sampleStarted(SampleEvent e)
sampleStarted
in interface RemoteSampleListener
sampleStarted
in interface SampleListener
e
- the event with data about the started samplepublic void sampleStopped(SampleEvent e)
sampleStopped
in interface RemoteSampleListener
sampleStopped
in interface SampleListener
e
- the event with data about the stopped sampleCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.