|
MATES 3.0-rc2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mates.util.BatchProcessor.BatchProcessorThread
Manages a single thread that is executing a batch process.
| Constructor Summary | |
BatchProcessor.BatchProcessorThread()
Default constructor. |
|
| Method Summary | |
void |
blockUntilDone()
Blocks execution of the calling thread until this class' processing is complete. |
Bundle |
getResult()
Returns the resulting bundle list from the processing. |
void |
process(Bundle bundle)
Instructs the thread to start its processing. |
void |
run()
The kernel of this thread, this will sleep until woken up by a call to process(Bundle) at
which point the bundle will be processed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BatchProcessor.BatchProcessorThread()
| Method Detail |
public void process(Bundle bundle)
process in interface Processorpublic void run()
process(Bundle) at
which point the bundle will be processed. Upon completion
of the processing, this function will once again
"hibernate."
run in interface java.lang.Runnablepublic Bundle getResult()
public void blockUntilDone()
|
MATES 3.0-rc2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||