|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.environment.processing.simple.SimpleProcessor
| Constructor Summary | |
SimpleProcessor(java.lang.String name)
Constructor for SimpleProcessor. |
|
| Method Summary | |
void |
destroy()
DESCRIBE THE METHOD |
WorkQueue |
getIOQueue()
Gets the IOQueue attribute of the SimpleProcessor object |
ProcessingQueue |
getQueue()
Gets the Queue attribute of the SimpleProcessor object |
void |
process(Executable task,
Continuation command,
SelectorManager selector,
TimeSource ts,
LogManager log)
Schedules a job for processing on the dedicated processing thread. |
void |
processBlockingIO(WorkRequest workRequest)
DESCRIBE THE METHOD |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleProcessor(java.lang.String name)
name - DESCRIBE THE PARAMETER| Method Detail |
public ProcessingQueue getQueue()
public WorkQueue getIOQueue()
public void process(Executable task,
Continuation command,
SelectorManager selector,
TimeSource ts,
LogManager log)
process in interface Processortask - The task to run on the processing threadcommand - The command to return the result to once it's doneselector - DESCRIBE THE PARAMETERts - DESCRIBE THE PARAMETERlog - DESCRIBE THE PARAMETERpublic void processBlockingIO(WorkRequest workRequest)
processBlockingIO in interface ProcessorworkRequest - DESCRIBE THE PARAMETERpublic void destroy()
destroy in interface Processor
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||