jconch.pipeline.impl
Class InlineThreadingModel
java.lang.Object
jconch.pipeline.impl.InlineThreadingModel
- All Implemented Interfaces:
- ThreadingModel
public class InlineThreadingModel
- extends Object
- implements ThreadingModel
Executes the pipeline stage inline. Does not actually spawn a thread, but
simply delegates the execution again.
- Author:
- Robert Fischer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InlineThreadingModel
public InlineThreadingModel()
execute
public void execute(PipelineStage toRun)
- Simply calls
PipelineStage.execute().
- Specified by:
execute in interface ThreadingModel
- Parameters:
toRun - The stage to run.
- Throws:
org.apache.commons.lang.NullArgumentException - If the argument is null