jconch.pipeline
Interface ThreadingModel

All Known Implementing Classes:
ExceptionThreadingModel, ExecutorThreadingModel, InlineThreadingModel, SingleThreadThreadingModel, SpawningThreadingModel

public interface ThreadingModel

Implements a threading model for a pipeline. A threading model abstracts out the way in which pipelines are processed.

Author:
Robert Fischer

Method Summary
 void execute(PipelineStage toRun)
          Wraps the execution of the pipeline in the appropriate threading.
 

Method Detail

execute

void execute(PipelineStage toRun)
Wraps the execution of the pipeline in the appropriate threading.

Parameters:
toRun - The stage to run.
Throws:
org.apache.commons.lang.NullArgumentException - If the argument is null