|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PartitionDataHandler
Responsible for loading and unloading data partitions
Method Summary | |
---|---|
PartitionDataHandler |
clone()
|
DataPartition |
load()
On invocation the data is loaded and returned |
PartitionDataHandler |
newInstance(int rootID,
ClientDataServer spmdClient,
Rectangle partitionBounds,
Rectangle unloadBounds)
|
void |
setBasePartition(DataPartition data)
|
void |
setRootID(int rootID)
|
void |
setSPMDClient(ClientDataServer localSPMDClient)
sets a local spmd client which MAY be used by the handler for local access |
void |
setUnloadBounds(Rectangle bounds)
sets the bounds of the data to be unloaded so that not all data is unloaded to the destination. |
Methods inherited from interface appl.data.DataLoader |
---|
getLoadInfo |
Methods inherited from interface appl.data.DataUnloader |
---|
getUnloadInfo, unload |
Method Detail |
---|
void setUnloadBounds(Rectangle bounds)
bounds
- void setBasePartition(DataPartition data)
void setRootID(int rootID)
PartitionDataHandler newInstance(int rootID, ClientDataServer spmdClient, Rectangle partitionBounds, Rectangle unloadBounds)
rootID
- the id of the datapartitionBounds
- the bounds of the partition to be retrieved on server sideunloadBounds
- the bounds of the partition which is to be uploaded to the
client after calculation
DataPartition load() throws LoadingException
DataLoader
load
in interface DataLoader
LoadingException
- if for some reason the data could not
be loadedPartitionDataHandler clone()
void setSPMDClient(ClientDataServer localSPMDClient)
localSPMDClient
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |