rice.environment.processing
Interface Processor
- All Known Implementing Classes:
- SimpleProcessor
- public interface Processor
- Version:
- $Id: pretty.settings,v 1.3 2005/03/11 20:22:33 jeffh Exp $
- Author:
- Jeff Hoye
process
public void process(Executable task,
Continuation command,
SelectorManager selector,
TimeSource ts,
LogManager log)
- Schedules a job for processing on the dedicated processing thread. CPU
intensive jobs, such as encryption, erasure encoding, or bloom filter
creation should never be done in the context of the underlying node's
thread, and should only be done via this method. The continuation will be
called on the Selector thread.
- Parameters:
task
- 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 PARAMETER
destroy
public void destroy()
- Shuts down the processing thread.
Copyright © 2001-2005 - Rice Pastry.