Interface PartitionService

    • Method Detail

      • getNumberOfPartitions

        int getNumberOfPartitions()
        Returns the total number of partitions.
        Returns:
        number of partitions
      • getConfiguredMembers

        java.util.Set<NodeId> getConfiguredMembers​(PartitionId partitionId)
        Returns the set of controller nodes configured to be members of a partition.
        Parameters:
        partitionId - partition identifier
        Returns:
        set of node identifiers
      • getAllPartitionIds

        java.util.Set<PartitionId> getAllPartitionIds()
        Returns the identifiers of all partitions.
        Returns:
        set of partition identifiers