Apache JMeter

org.apache.jmeter.threads
Class RemoteThreadsListenerImpl

java.lang.Object
  extended by java.rmi.server.RemoteObject
      extended by java.rmi.server.RemoteServer
          extended by java.rmi.server.UnicastRemoteObject
              extended by 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
RemoteThreadsListenerImpl()
           
 
Method Summary
 void threadFinished()
          Called for each thread after all samples have been processed.
 void threadStarted()
          Called for each thread before starting sampling.
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteThreadsListenerImpl

public RemoteThreadsListenerImpl()
                          throws RemoteException
Throws:
RemoteException
Method Detail

threadStarted

public void threadStarted()
Description copied from interface: ThreadListener
Called 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:
threadStarted in interface ThreadListener
Specified by:
threadStarted in interface RemoteThreadsListener
See Also:
RemoteThreadsListener.threadStarted()

threadFinished

public void threadFinished()
Description copied from interface: ThreadListener
Called for each thread after all samples have been processed.

Specified by:
threadFinished in interface ThreadListener
Specified by:
threadFinished in interface RemoteThreadsListener
See Also:
ThreadListener.threadStarted()

Apache JMeter

Copyright © 1998-2013 Apache Software Foundation. All Rights Reserved.