|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.testelement.AbstractTestElement
org.apache.jmeter.visualizers.backend.BackendListener
public class BackendListener
Async Listener that delegates SampleResult handling to implementations of BackendListenerClient
Field Summary | |
---|---|
static String |
ARGUMENTS
Property key representing the arguments for the BackendListenerClient. |
static String |
CLASSNAME
Property key representing the classname of the BackendListenerClient to user. |
static String |
DEFAULT_QUEUE_SIZE
|
static String |
QUEUE_SIZE
Queue size |
Fields inherited from interface org.apache.jmeter.testelement.TestElement |
---|
COMMENTS, ENABLED, GUI_CLASS, NAME, TEST_CLASS |
Constructor Summary | |
---|---|
BackendListener()
Create a BackendListener. |
Method Summary | |
---|---|
Object |
clone()
|
Arguments |
getArguments()
Get the arguments (parameters) for the BackendListenerClient to be executed with. |
String |
getClassname()
Gets the Classname of the BackendListenerClient object |
String |
getQueueSize()
Gets the queue size |
void |
sampleOccurred(SampleEvent event)
A sample has started and stopped. |
void |
sampleStarted(SampleEvent e)
A sample has started. |
void |
sampleStopped(SampleEvent e)
A sample has stopped. |
void |
setArguments(Arguments args)
Set the arguments (parameters) for the BackendListenerClient to be executed with. |
void |
setClassname(String classname)
Sets the Classname of the BackendListenerClient object |
void |
setQueueSize(String queueSize)
Sets the queue size |
void |
testEnded()
Implements TestStateListener.testEnded(String) |
void |
testEnded(String host)
Method called at the end of the test. |
void |
testStarted()
Implements TestStateListener.testStarted() |
void |
testStarted(String host)
Implements TestStateListener.testStarted(String) |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CLASSNAME
public static final String QUEUE_SIZE
public static final String ARGUMENTS
public static final String DEFAULT_QUEUE_SIZE
Constructor Detail |
---|
public BackendListener()
Method Detail |
---|
public Object clone()
clone
in interface TestElement
clone
in class AbstractTestElement
public void sampleOccurred(SampleEvent event)
SampleListener
sampleOccurred
in interface SampleListener
event
- the SampleEvent
that has occurredpublic void testStarted()
testStarted
in interface TestStateListener
StandardJMeterEngine.run()
public void testStarted(String host)
testStarted
in interface TestStateListener
host
- name of hostStandardJMeterEngine.run()
public void testEnded(String host)
testEnded
in interface TestStateListener
host
- name of hostStandardJMeterEngine.stopTest()
public void testEnded()
testEnded
in interface TestStateListener
StandardJMeterEngine.stopTest()
public void sampleStarted(SampleEvent e)
SampleListener
sampleStarted
in interface SampleListener
e
- the SampleEvent
that has startedpublic void sampleStopped(SampleEvent e)
SampleListener
sampleStopped
in interface SampleListener
e
- the SampleEvent
that has stoppedpublic void setArguments(Arguments args)
args
- the new arguments. These replace any existing arguments.public Arguments getArguments()
public void setClassname(String classname)
classname
- the new Classname valuepublic String getClassname()
public void setQueueSize(String queueSize)
queueSize
- the size of the queuepublic String getQueueSize()
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |