Package org.onosproject.cluster
Interface Partition
- 
- All Known Implementing Classes:
 DefaultPartition
public interface PartitionA 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 PartitionIdgetId()Returns the partition identifier.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
Collection<NodeId> getMembers()
Returns the controller nodes that are members of this partition.- Returns:
 - collection of controller node identifiers
 
 
 - 
 
 -