|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SPMDTask
A SPMDTask should be executed on servers using the SPMD-paradigm.
The Task provides access to the SPMDClientInterface
and the
AdvancedSPMDClientInterface
.
for more details
Method Summary | |
---|---|
AdvancedSPMDServerInterface |
getAdvancedSPMDServerController()
Gives access the AdvancedSPMDServerInterface for advanced parallel
programming, including performance optimizations like preloading. |
SPMDServerInterface |
getSPMDServerController()
Gives access the SPMDServerInterface for parallel programming. |
void |
incomingUpdate(WritableGrid outgoingGrid,
Rectangle location)
Currently not used. |
void |
initialize()
Initializes the task. |
boolean |
isInitialized()
|
void |
outgoingUpdate(WritableGrid incomingGrid,
Rectangle location)
Currently not used. |
Object |
run(Object... parameters)
Starts the task with the given parameters. |
void |
setSPMDServerController(AdvancedSPMDServerInterface controller)
Associates the given SPMDController with the task. |
boolean |
supportsMultiThreading()
If you want to support multiple processors, this method must return true. |
Method Detail |
---|
AdvancedSPMDServerInterface getAdvancedSPMDServerController()
AdvancedSPMDServerInterface
for advanced parallel
programming, including performance optimizations like preloading.
SPMDServerInterface getSPMDServerController()
SPMDServerInterface
for parallel programming.
void setSPMDServerController(AdvancedSPMDServerInterface controller)
XuluServer
.
controller
- void outgoingUpdate(WritableGrid incomingGrid, Rectangle location)
incomingGrid
- location
- void incomingUpdate(WritableGrid outgoingGrid, Rectangle location)
outgoingGrid
- location
- Object run(Object... parameters)
parameters
-
void initialize()
boolean isInitialized()
initialize()
must be
calledboolean supportsMultiThreading()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |