Package org.onosproject.cluster
Interface Partition
-
- All Known Implementing Classes:
DefaultPartition
public interface Partition
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartitionId
getId()
Returns the partition identifier.java.util.Collection<NodeId>
getMembers()
Returns the controller nodes that are members of this partition.
-
-
-
Method Detail
-
getId
PartitionId getId()
Returns the partition identifier.- Returns:
- partition identifier
-
getMembers
java.util.Collection<NodeId> getMembers()
Returns the controller nodes that are members of this partition.- Returns:
- collection of controller node identifiers
-
-