Class PartitionId

java.lang.Object
io.atomix.utils.AbstractIdentifier<Integer>
io.atomix.primitive.partition.PartitionId
All Implemented Interfaces:
Identifier<Integer>, Comparable<PartitionId>

public class PartitionId extends AbstractIdentifier<Integer> implements Comparable<PartitionId>
PartitionMetadata identifier.
  • Constructor Details

    • PartitionId

      public PartitionId(String group, int id)
      Creates a partition identifier from an integer.
      Parameters:
      group - the group identifier
      id - input integer
  • Method Details