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, waitgetAnyPartition, getLowestPartitionpublic void addPartition(DataPartition partition)
DataObjectaddPartition in interface DataObjectpartition - the partitionpublic DataPartition[] getPartitions()
DataObjectgetPartitions in interface DataObjectpublic DataPartition getPartition(int partitionId)
DataObjectgetPartition in interface DataObjectpartitionId - partition idpublic int getPartitionCount()
DataObjectgetPartitionCount in interface DataObjectpublic java.lang.String getID()
DataObjectgetID in interface DataObjectpublic static DataObject getInstance()