|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.excalibur.event.command.TPSPThreadManager.SourceRunner
protected static final class TPSPThreadManager.SourceRunner
The SourceRunner is used to dequeue events one at a time.
| Constructor Summary | |
|---|---|
protected |
TPSPThreadManager.SourceRunner(Source source,
EventHandler handler)
Create a new SourceRunner. |
| Method Summary | |
|---|---|
Source |
getSource()
Get a reference to the Source. |
void |
run()
Called by the PooledExecutor to ensure all components are working. |
void |
stop()
Stop the runner nicely. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TPSPThreadManager.SourceRunner(Source source,
EventHandler handler)
source - The source to pull events from.handler - The handler to send events to.| Method Detail |
|---|
public void run()
run in interface Runnablepublic void stop()
public Source getSource()
Source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||