Class PartitionManager

  • All Implemented Interfaces:
    org.onosproject.event.ListenerService<org.onosproject.store.primitives.PartitionEvent,​org.onosproject.store.primitives.PartitionEventListener>, org.onosproject.store.primitives.PartitionAdminService, org.onosproject.store.primitives.PartitionService

    public class PartitionManager
    extends org.onosproject.event.AbstractListenerManager<org.onosproject.store.primitives.PartitionEvent,​org.onosproject.store.primitives.PartitionEventListener>
    implements org.onosproject.store.primitives.PartitionService, org.onosproject.store.primitives.PartitionAdminService
    Implementation of PartitionService and PartitionAdminService.
    • Constructor Detail

      • PartitionManager

        public PartitionManager()
    • Method Detail

      • activate

        public void activate()
      • deactivate

        public void deactivate()
      • getNumberOfPartitions

        public int getNumberOfPartitions()
        Specified by:
        getNumberOfPartitions in interface org.onosproject.store.primitives.PartitionService
      • getAllPartitionIds

        public Set<org.onosproject.cluster.PartitionId> getAllPartitionIds()
        Specified by:
        getAllPartitionIds in interface org.onosproject.store.primitives.PartitionService
      • getConfiguredMembers

        public Set<org.onosproject.cluster.NodeId> getConfiguredMembers​(org.onosproject.cluster.PartitionId partitionId)
        Specified by:
        getConfiguredMembers in interface org.onosproject.store.primitives.PartitionService
      • partitionInfo

        public List<org.onosproject.store.service.PartitionInfo> partitionInfo()
        Specified by:
        partitionInfo in interface org.onosproject.store.primitives.PartitionAdminService
      • partitionClientInfo

        public List<org.onosproject.store.service.PartitionClientInfo> partitionClientInfo()
        Specified by:
        partitionClientInfo in interface org.onosproject.store.primitives.PartitionAdminService
      • snapshot

        public void snapshot()
        Specified by:
        snapshot in interface org.onosproject.store.primitives.PartitionAdminService
      • snapshot

        public void snapshot​(org.onosproject.cluster.PartitionId partitionId)
        Specified by:
        snapshot in interface org.onosproject.store.primitives.PartitionAdminService