jconch.pipeline.impl
Class SingleThreadThreadingModel

java.lang.Object
  extended by jconch.pipeline.impl.SingleThreadThreadingModel
All Implemented Interfaces:
ThreadingModel

public class SingleThreadThreadingModel
extends java.lang.Object
implements ThreadingModel

Runs a single different thread to process the threading.

Author:
Robert Fischer

Constructor Summary
SingleThreadThreadingModel()
           
 
Method Summary
 void execute(PipeStage toRun)
          Spawns a thread, and it keeps executing everything.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleThreadThreadingModel

public SingleThreadThreadingModel()
Method Detail

execute

public void execute(PipeStage toRun)
Spawns a thread, and it keeps executing everything.

Specified by:
execute in interface ThreadingModel
Parameters:
toRun - The stage to run.
Throws:
org.apache.commons.lang.NullArgumentException - If the argument is null