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 ThreadLifeCycleListener
public void beginShutdown()
__del__
method is called.beginShutdown
in interface ThreadLifeCycleListener
public 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 ThreadLifeCycleListener
public void endRun()
endRun
in interface ThreadLifeCycleListener
public void endThread()
endThread
in interface ThreadLifeCycleListener
Copyright © 2000-2014. All Rights Reserved.