org.drools.examples.broker.events
Class EventFeeder
java.lang.Object
org.drools.examples.broker.events.EventFeeder
public class EventFeeder
- extends Object
An event feeder reads an event data file and publishes
the read events to the consumer
|
Method Summary |
void |
feed()
For this simple demo, we are loading the
whole stream of events into the memory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventFeeder
public EventFeeder(org.drools.time.TimerService clock,
EventSource source,
EventReceiver sink)
feed
public void feed()
- For this simple demo, we are loading the
whole stream of events into the memory.
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.