public interface ThreadLifeCycleListener
All methods will be called using the thread to which the event refers.
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.
|
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
).
void beginRun()
void endRun()
void beginShutdown()
__del__
method is called.void endThread()
Copyright © 2000-2014. All Rights Reserved.