Interface ProcessingUnitPartition

All Known Subinterfaces:
InternalProcessingUnitPartition
All Known Implementing Classes:
DefaultProcessingUnitPartition

public interface ProcessingUnitPartition
A Space partition mainly make sense with partitioned topologies and holds all the ProcessingUnitInstances that form the partition.
Author:
kimchy
  • Method Details

    • getPartitionId

      int getPartitionId()
      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

      If the processing unit has an embedded space, will return the processing unit instance that holds a the primary space instance.
    • getBackup

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