Package io.atomix.primitive.partition
Class PartitionMetadata
java.lang.Object
io.atomix.primitive.partition.PartitionMetadata
public class PartitionMetadata extends Object
A partition or shard is a group of controller nodes that are work together to maintain state.
A ONOS cluster is typically made of of one or partitions over which the the data is partitioned.
-
Constructor Summary
Constructors Constructor Description PartitionMetadata(PartitionId id, Collection<io.atomix.cluster.MemberId> members) -
Method Summary
Modifier and Type Method Description booleanequals(Object object)inthashCode()PartitionIdid()Returns the partition identifier.Collection<io.atomix.cluster.MemberId>members()Returns the controller nodes that are members of this partition.StringtoString()