Package org.onosproject.store.core.impl
Class DistributedApplicationIdStore
- java.lang.Object
-
- org.onosproject.store.core.impl.DistributedApplicationIdStore
-
- All Implemented Interfaces:
org.onosproject.app.ApplicationIdStore
public class DistributedApplicationIdStore extends java.lang.Object implements org.onosproject.app.ApplicationIdStoreApplicationIdStore implementation on top ofAtomicCounterandConsistentMapprimitives.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.onosproject.store.service.StorageServicestorageService
-
Constructor Summary
Constructors Constructor Description DistributedApplicationIdStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivate()voiddeactivate()org.onosproject.core.ApplicationIdgetAppId(java.lang.Short id)org.onosproject.core.ApplicationIdgetAppId(java.lang.String name)java.util.Set<org.onosproject.core.ApplicationId>getAppIds()org.onosproject.core.ApplicationIdregisterApplication(java.lang.String name)
-
-
-
Method Detail
-
activate
public void activate()
-
deactivate
public void deactivate()
-
getAppIds
public java.util.Set<org.onosproject.core.ApplicationId> getAppIds()
- Specified by:
getAppIdsin interfaceorg.onosproject.app.ApplicationIdStore
-
getAppId
public org.onosproject.core.ApplicationId getAppId(java.lang.Short id)
- Specified by:
getAppIdin interfaceorg.onosproject.app.ApplicationIdStore
-
getAppId
public org.onosproject.core.ApplicationId getAppId(java.lang.String name)
- Specified by:
getAppIdin interfaceorg.onosproject.app.ApplicationIdStore
-
registerApplication
public org.onosproject.core.ApplicationId registerApplication(java.lang.String name)
- Specified by:
registerApplicationin interfaceorg.onosproject.app.ApplicationIdStore
-
-