public abstract class SkeletonThreadLifeCycleListener extends Object implements ThreadLifeCycleListener
ThreadLifeCycleListener.| Constructor and Description |
|---|
SkeletonThreadLifeCycleListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginRun()
This method is called at the start of every run.
|
void |
beginShutdown()
This method is called before the thread is shut down.
|
void |
beginThread()
This method is called just after the thread has started.
|
void |
endRun()
This method is called at the end of every run.
|
void |
endThread()
This method is called when the thread has been shut down.
|
public void beginRun()
beginRun in interface ThreadLifeCycleListenerpublic void beginShutdown()
__del__ method is called.beginShutdown in interface ThreadLifeCycleListenerpublic void beginThread()
Plugin thread listeners created by
GrinderPlugin.createThreadListener(net.grinder.plugininterface.PluginThreadContext) will
will receive this event, so long as their plugin registers itself before
the worker threads start (see notes at
PluginRegistry).
beginThread in interface ThreadLifeCycleListenerpublic void endRun()
endRun in interface ThreadLifeCycleListenerpublic void endThread()
endThread in interface ThreadLifeCycleListenerCopyright © 2000-2014. All Rights Reserved.