com.rhi.architecture.parc
Class InfiniteLoopStrategy

java.lang.Object
  extended bycom.rhi.architecture.parc.AbstractExecutionStrategy
      extended bycom.rhi.architecture.parc.InfiniteLoopStrategy
All Implemented Interfaces:
ExecutionStrategy

public class InfiniteLoopStrategy
extends AbstractExecutionStrategy

Loop forever Execution Strategy

Since:
1.0
Author:
Pete McKinstry

Field Summary
 
Fields inherited from class com.rhi.architecture.parc.AbstractExecutionStrategy
DEFAULT_SLEEP_TIME, SLEEP_TIME
 
Constructor Summary
InfiniteLoopStrategy()
           
 
Method Summary
 void run()
          Perform processing using concrete execution strategy.
 
Methods inherited from class com.rhi.architecture.parc.AbstractExecutionStrategy
cleanup, doRun, getInputAdapter, getOutputAdapter, getPipeline, getProperties, getSleepTime, hookupChannels, init, logStats, setInputAdapter, setOutputAdapter, setPipeline
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfiniteLoopStrategy

public InfiniteLoopStrategy()
Method Detail

run

public void run()
         throws ProcessingException
Perform processing using concrete execution strategy. The OneTimeStrategy does a single execution of the processing pipeline and then shuts down.

Throws:
ProcessingException
Since:
1.0


Copyright © 2002-2004 Robert Half International. All Rights Reserved.