lima.distribution
Interface WorkUnitProcessor
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- DServer, LocalProcessor
- public interface WorkUnitProcessor
- extends java.rmi.Remote
A WorkUnitProcessor is the interface between the distribution system and an
application. A handle to this is all the algoithm should need to know about.
|
Method Summary |
void |
process(lima.distribution.WorkUnitSink sink,
lima.distribution.WorkUnitSource source)
Take WorkUnits from source, process them and flush them to sink. |
process
public void process(lima.distribution.WorkUnitSink sink,
lima.distribution.WorkUnitSource source)
throws java.rmi.RemoteException
- Take WorkUnits from source, process them and flush them to sink.
Note that order is not maintained.
- Parameters:
source - - Provides WorkUnitssink - - Callback to flush finished workunits.
java.rmi.RemoteException