Class DistributedFlowObjectiveStore

  • All Implemented Interfaces:
    org.onosproject.net.flowobjective.FlowObjectiveStore, org.onosproject.store.Store<org.onosproject.net.flowobjective.ObjectiveEvent,​org.onosproject.net.flowobjective.FlowObjectiveStoreDelegate>

    public class DistributedFlowObjectiveStore
    extends org.onosproject.store.AbstractStore<org.onosproject.net.flowobjective.ObjectiveEvent,​org.onosproject.net.flowobjective.FlowObjectiveStoreDelegate>
    implements org.onosproject.net.flowobjective.FlowObjectiveStore
    Manages the inventory of created next groups.
    • Field Detail

      • storageService

        protected org.onosproject.store.service.StorageService storageService
    • Constructor Detail

      • DistributedFlowObjectiveStore

        public DistributedFlowObjectiveStore()
    • Method Detail

      • activate

        public void activate()
      • deactivate

        public void deactivate()
      • putNextGroup

        public void putNextGroup​(Integer nextId,
                                 org.onosproject.net.behaviour.NextGroup group)
        Specified by:
        putNextGroup in interface org.onosproject.net.flowobjective.FlowObjectiveStore
      • getNextGroup

        public org.onosproject.net.behaviour.NextGroup getNextGroup​(Integer nextId)
        Specified by:
        getNextGroup in interface org.onosproject.net.flowobjective.FlowObjectiveStore
      • removeNextGroup

        public org.onosproject.net.behaviour.NextGroup removeNextGroup​(Integer nextId)
        Specified by:
        removeNextGroup in interface org.onosproject.net.flowobjective.FlowObjectiveStore
      • getAllGroups

        public Map<Integer,​org.onosproject.net.behaviour.NextGroup> getAllGroups()
        Specified by:
        getAllGroups in interface org.onosproject.net.flowobjective.FlowObjectiveStore
      • allocateNextId

        public int allocateNextId()
        Specified by:
        allocateNextId in interface org.onosproject.net.flowobjective.FlowObjectiveStore