|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.environment.processing.sim.SimProcessor
public class SimProcessor
Constructor Summary | |
---|---|
SimProcessor(SelectorManager selector)
|
Method Summary | |
---|---|
void |
destroy()
Shuts down the processing thread. |
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 request)
Schedules a different type of task. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimProcessor(SelectorManager selector)
Method Detail |
---|
public void process(Executable task, Continuation command, SelectorManager selector, TimeSource ts, LogManager log)
Processor
process
in interface Processor
task
- The task to run on the processing threadcommand
- The command to return the result to once it's donepublic void processBlockingIO(WorkRequest request)
Processor
processBlockingIO
in interface Processor
public void destroy()
Processor
destroy
in interface Destructable
destroy
in interface Processor
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |