appl.parallel.spmd.split
Interface PartitionInfo
- All Superinterfaces:
- Cloneable
- All Known Implementing Classes:
- SinglePartitionInfo
public interface PartitionInfo
- extends Cloneable
A PartitionInfo
object contains information about the partition, which is
normally transfered a server. It contains a SplitMap
for the
partition, the position inside the SplitMap
, the name of the base
resource (the mother resource) and a method which supports cloning the
information.
- Author:
- Dominik Appl
- See Also:
SinglePartitionInfo
getSplitMap
SplitMap getSplitMap()
- Returns:
- the splitMap for this partition
getSplitMapPos
int getSplitMapPos()
- Returns:
- the splitMapPos position inside the
SplitMap
getBaseResourceName
String getBaseResourceName()
- Returns:
- the baseResourceName the name of the base resource (mother resource). The name
is string which is the user provides for identification an retrieval on server side.
clone
PartitionInfo clone(int rootID)
- This method can especially be used by multi data methods to create a new instance of this
data type
- Parameters:
rootID
- the id of the base resource for the NEW copy of the PartitionInfo
- Returns:
- the new
PartitionInfo