GigaSpaces XAP 7.0 API

org.openspaces.admin.pu
Interface ProcessingUnitPartition


public interface ProcessingUnitPartition

A Space partition mainly make sense with partitioned topologies and holds all the ProcessingUnitInstances that form the partition.

Author:
kimchy

Method Summary
 ProcessingUnitInstance getBackup()
          If the processing unit has an embedded space, will return the processing unit instance that holds a the backup space instance.
 ProcessingUnitInstance[] getInstances()
          Returns the processing unit instances associated with this partition.
 int getPartitiondId()
          Returns the partition id (starting from 0).
 ProcessingUnitInstance getPrimary()
          If the processing unit has an embedded space, will return the processing unit instance that holds a the primary space instance.
 ProcessingUnit getProcessingUnit()
          Returns the processing unit this partition is part of.
 

Method Detail

getPartitiondId

int getPartitiondId()
Returns the partition id (starting from 0). Note, ProcessingUnitInstance.getInstanceId() starts from 1.


getInstances

ProcessingUnitInstance[] getInstances()
Returns the processing unit instances associated with this partition.


getProcessingUnit

ProcessingUnit getProcessingUnit()
Returns the processing unit this partition is part of.


getPrimary

ProcessingUnitInstance getPrimary()
If the processing unit has an embedded space, will return the processing unit instance that holds a the primary space instance.


getBackup

ProcessingUnitInstance getBackup()
If the processing unit has an embedded space, will return the processing unit instance that holds a the backup space instance.


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.