|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.parc.filter.AbstractFilter
com.rhi.architecture.parc.AbstractFilter
The AbstractFilter provides a partially implemented Filter allowing simpler concrete Filter objects. It deals w/ thread safe exit logic, and idle cycle detection as well as providing the required hooks for pre & post channel hookup. All concrete filter processing is deferred to a doWork() abstract method.
Note: a simple run() method is provided to support the Runnable Interface.
Constructor Summary | |
AbstractFilter()
Deprecated. |
Method Summary | |
void |
process()
Deprecated. Push a collection of records through the filter. |
Methods inherited from class com.rhi.architecture.parc.filter.AbstractFilter |
doWork, getErrorChannel, getExceptionHandler, getInbound, getMaxRecords, getName, getOutbound, init, isShutdown, log, markForDeath, numThreads, reset, run, setErrorChannel, setExceptionHandler, setInbound, setMaxRecords, setNumThreads, setOutbound, stats |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractFilter()
Method Detail |
public void process() throws ProcessingException
InboundChannel.pull();
doWork()
OutboundChannel.push();
This method must be threadsafe as it is the
fundamental multi-processing hook in the framework.
ProcessingException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |