Class ConsistentIntentSetMultimap

  • All Implemented Interfaces:
    org.onosproject.net.intent.IntentSetMultimap

    @Beta
    public class ConsistentIntentSetMultimap
    extends java.lang.Object
    implements org.onosproject.net.intent.IntentSetMultimap
    A collection that maps Intent IDs as keys to values as Intent IDs, where each key may associated with multiple values without duplication.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.onosproject.net.device.DeviceService deviceService  
      protected org.onosproject.store.service.StorageService storageService  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate()  
      boolean allocateMapping​(org.onosproject.net.intent.IntentId keyIntentId, org.onosproject.net.intent.IntentId valIntentId)  
      void deactivate()  
      java.util.Set<org.onosproject.net.intent.IntentId> getMapping​(org.onosproject.net.intent.IntentId intentId)  
      void releaseMapping​(org.onosproject.net.intent.IntentId intentId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • storageService

        protected org.onosproject.store.service.StorageService storageService
      • deviceService

        protected org.onosproject.net.device.DeviceService deviceService
    • Constructor Detail

      • ConsistentIntentSetMultimap

        public ConsistentIntentSetMultimap()
    • Method Detail

      • activate

        public void activate()
      • deactivate

        public void deactivate()
      • getMapping

        public java.util.Set<org.onosproject.net.intent.IntentId> getMapping​(org.onosproject.net.intent.IntentId intentId)
        Specified by:
        getMapping in interface org.onosproject.net.intent.IntentSetMultimap
      • allocateMapping

        public boolean allocateMapping​(org.onosproject.net.intent.IntentId keyIntentId,
                                       org.onosproject.net.intent.IntentId valIntentId)
        Specified by:
        allocateMapping in interface org.onosproject.net.intent.IntentSetMultimap
      • releaseMapping

        public void releaseMapping​(org.onosproject.net.intent.IntentId intentId)
        Specified by:
        releaseMapping in interface org.onosproject.net.intent.IntentSetMultimap