public final class EmptyDataObject extends java.lang.Object implements DataObject
Modifier and Type | Method and Description |
---|---|
void |
addPartition(DataPartition partition)
Add a partition to the data object
|
java.lang.String |
getID()
ID of the data object.
|
static DataObject |
getInstance() |
DataPartition |
getPartition(int partitionId)
Get the partition with the specific partition id
|
int |
getPartitionCount()
Get the number of partitions currently in the DataObject
|
DataPartition[] |
getPartitions()
Get the list of partitions for a process
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnyPartition, getLowestPartition
public void addPartition(DataPartition partition)
DataObject
addPartition
in interface DataObject
partition
- the partitionpublic DataPartition[] getPartitions()
DataObject
getPartitions
in interface DataObject
public DataPartition getPartition(int partitionId)
DataObject
getPartition
in interface DataObject
partitionId
- partition idpublic int getPartitionCount()
DataObject
getPartitionCount
in interface DataObject
public java.lang.String getID()
DataObject
getID
in interface DataObject
public static DataObject getInstance()