Interface PartitionService

    • Method Detail

      • getNumberOfPartitions

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

        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

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