Class ConsistentIntentSetMultimap
- java.lang.Object
-
- org.onosproject.store.intent.impl.ConsistentIntentSetMultimap
-
- All Implemented Interfaces:
org.onosproject.net.intent.IntentSetMultimap
@Beta public class ConsistentIntentSetMultimap extends java.lang.Object implements org.onosproject.net.intent.IntentSetMultimapA 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.DeviceServicedeviceServiceprotected org.onosproject.store.service.StorageServicestorageService
-
Constructor Summary
Constructors Constructor Description ConsistentIntentSetMultimap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()booleanallocateMapping(org.onosproject.net.intent.IntentId keyIntentId, org.onosproject.net.intent.IntentId valIntentId)voiddeactivate()java.util.Set<org.onosproject.net.intent.IntentId>getMapping(org.onosproject.net.intent.IntentId intentId)voidreleaseMapping(org.onosproject.net.intent.IntentId intentId)
-
-
-
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:
getMappingin interfaceorg.onosproject.net.intent.IntentSetMultimap
-
allocateMapping
public boolean allocateMapping(org.onosproject.net.intent.IntentId keyIntentId, org.onosproject.net.intent.IntentId valIntentId)- Specified by:
allocateMappingin interfaceorg.onosproject.net.intent.IntentSetMultimap
-
releaseMapping
public void releaseMapping(org.onosproject.net.intent.IntentId intentId)
- Specified by:
releaseMappingin interfaceorg.onosproject.net.intent.IntentSetMultimap
-
-