Package step.plugins.threadmanager
Class ThreadManagerPlugin
- java.lang.Object
-
- step.core.plugins.AbstractPlugin
-
- step.engine.plugins.AbstractExecutionEnginePlugin
-
- step.plugins.threadmanager.ThreadManagerPlugin
-
- All Implemented Interfaces:
ExecutionCallbacks
,OptionalPlugin
,ExecutionEnginePlugin
public class ThreadManagerPlugin extends AbstractExecutionEnginePlugin
-
-
Constructor Summary
Constructors Constructor Description ThreadManagerPlugin(ThreadManager threadManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterReportNodeExecution(ExecutionContext context, ReportNode node)
void
associateThread(ExecutionContext context, java.lang.Thread thread)
void
associateThread(ExecutionContext context, java.lang.Thread thread, long parentThreadId)
void
beforeExecutionEnd(ExecutionContext context)
void
beforeReportNodeExecution(ExecutionContext context, ReportNode node)
void
unassociateThread(ExecutionContext context, java.lang.Thread thread)
-
Methods inherited from class step.engine.plugins.AbstractExecutionEnginePlugin
afterExecutionEnd, afterFunctionExecution, afterReportNodeExecution, afterReportNodeSkeletonCreation, afterReportNodeSkeletonCreation, beforeFunctionExecution, beforePlanImport, beforeReportNodeExecution, executionStart, initializeExecutionContext, initializeExecutionEngineContext, rollbackReportNode, rollbackReportNode
-
Methods inherited from class step.core.plugins.AbstractPlugin
toString, validate
-
-
-
-
Constructor Detail
-
ThreadManagerPlugin
public ThreadManagerPlugin(ThreadManager threadManager)
-
-
Method Detail
-
associateThread
public void associateThread(ExecutionContext context, java.lang.Thread thread, long parentThreadId)
- Specified by:
associateThread
in interfaceExecutionCallbacks
- Overrides:
associateThread
in classAbstractExecutionEnginePlugin
-
associateThread
public void associateThread(ExecutionContext context, java.lang.Thread thread)
- Specified by:
associateThread
in interfaceExecutionCallbacks
- Overrides:
associateThread
in classAbstractExecutionEnginePlugin
-
beforeReportNodeExecution
public void beforeReportNodeExecution(ExecutionContext context, ReportNode node)
- Specified by:
beforeReportNodeExecution
in interfaceExecutionCallbacks
- Overrides:
beforeReportNodeExecution
in classAbstractExecutionEnginePlugin
-
afterReportNodeExecution
public void afterReportNodeExecution(ExecutionContext context, ReportNode node)
- Specified by:
afterReportNodeExecution
in interfaceExecutionCallbacks
- Overrides:
afterReportNodeExecution
in classAbstractExecutionEnginePlugin
-
unassociateThread
public void unassociateThread(ExecutionContext context, java.lang.Thread thread)
- Specified by:
unassociateThread
in interfaceExecutionCallbacks
- Overrides:
unassociateThread
in classAbstractExecutionEnginePlugin
-
beforeExecutionEnd
public void beforeExecutionEnd(ExecutionContext context)
- Specified by:
beforeExecutionEnd
in interfaceExecutionCallbacks
- Overrides:
beforeExecutionEnd
in classAbstractExecutionEnginePlugin
-
-