Package org.apache.jmeter.threads
Class RemoteThreadsListenerImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- org.apache.jmeter.threads.RemoteThreadsListenerImpl
-
- All Implemented Interfaces:
Serializable,Remote,ThreadListener,RemoteThreadsListener
public class RemoteThreadsListenerImpl extends UnicastRemoteObject implements RemoteThreadsListener, ThreadListener
RMI Implementation, client side code (ie executed on Controller)- Since:
- 2.10
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.rmi.server.RemoteObject
ref
-
-
Constructor Summary
Constructors Constructor Description RemoteThreadsListenerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidthreadFinished()Called for each thread after all samples have been processed.voidthreadStarted()Called for each thread before starting sampling.-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
-
-
-
-
Constructor Detail
-
RemoteThreadsListenerImpl
public RemoteThreadsListenerImpl() throws RemoteException- Throws:
RemoteException- if failed to export object
-
-
Method Detail
-
threadStarted
public void threadStarted()
Description copied from interface:ThreadListenerCalled for each thread before starting sampling. WARNING: this is called before any Config test elements are processed, so any properties they define will not have been merged in yet.- Specified by:
threadStartedin interfaceRemoteThreadsListener- Specified by:
threadStartedin interfaceThreadListener- See Also:
RemoteThreadsListener.threadStarted()
-
threadFinished
public void threadFinished()
Description copied from interface:ThreadListenerCalled for each thread after all samples have been processed.- Specified by:
threadFinishedin interfaceRemoteThreadsListener- Specified by:
threadFinishedin interfaceThreadListener- See Also:
ThreadListener.threadFinished()
-
-