|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.d_haven.event.command.EventPipelineRunner
public class EventPipelineRunner
Created by IntelliJ IDEA. User: bloritsch Date: Jun 9, 2004 Time: 10:57:03 AM To change this template use File | Settings | File Templates.
Field Summary | |
---|---|
private int |
m_numEntries
|
private EventPipeline |
m_pipeline
|
Constructor Summary | |
---|---|
EventPipelineRunner(EventPipeline pipeline)
Create an EventPipelineRunner with the supplied pipeline and a policy of dequeueing one entry at a time. |
|
EventPipelineRunner(EventPipeline pipeline,
int numEntries)
Create an EventPipelineRunner with the supplied pipeline and number of events to dequeue at a time. |
Method Summary | |
---|---|
int |
getNumEntries()
Return the number of entries to process at one time. |
EventPipeline |
getPipeline()
Get the pipeline we are processing at this time. |
void |
run()
The run method will process events once and then end. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final EventPipeline m_pipeline
private final int m_numEntries
Constructor Detail |
---|
public EventPipelineRunner(EventPipeline pipeline)
pipeline
- the pipeline to runpublic EventPipelineRunner(EventPipeline pipeline, int numEntries)
pipeline
- the pipeline to runnumEntries
- the number of entries to dequeueMethod Detail |
---|
public int getNumEntries()
public EventPipeline getPipeline()
public void run()
run
in interface java.lang.Runnable
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |