|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rhi.architecture.parc.filter.AbstractFilter
com.rhi.architecture.parc.filter.NotificationFilter
NotificationFilter.java
Constructor Summary | |
NotificationFilter()
Constructor for NotificationFilter. |
Method Summary | |
void |
notify(Event e)
Simple implementation of Monitor interface based on Thread wait/notify mechanism. |
void |
process()
Push a collection of records through the filter. |
void |
run()
Thread execution method. |
Methods inherited from class com.rhi.architecture.parc.filter.AbstractFilter |
doWork, getErrorChannel, getExceptionHandler, getInbound, getMaxRecords, getName, getOutbound, init, isShutdown, log, markForDeath, numThreads, reset, 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 NotificationFilter()
Method Detail |
public void run()
AbstractFilter
run
in interface java.lang.Runnable
run
in class AbstractFilter
Runnable.run()
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.
process
in interface Filter
ProcessingException
public void notify(Event e)
notify
in interface Monitor
e
- Monitor.notify(Event)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |