@Service
public class DistributedApplicationIdStore
extends java.lang.Object
implements org.onosproject.app.ApplicationIdStore
AtomicCounter
and ConsistentMap primitives.| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.store.service.StorageService |
storageService |
| Constructor and Description |
|---|
DistributedApplicationIdStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
org.onosproject.core.ApplicationId |
getAppId(java.lang.Short id) |
org.onosproject.core.ApplicationId |
getAppId(java.lang.String name) |
java.util.Set<org.onosproject.core.ApplicationId> |
getAppIds() |
org.onosproject.core.ApplicationId |
registerApplication(java.lang.String name) |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.store.service.StorageService storageService
@Activate public void activate()
@Deactivate public void deactivate()
public java.util.Set<org.onosproject.core.ApplicationId> getAppIds()
getAppIds in interface org.onosproject.app.ApplicationIdStorepublic org.onosproject.core.ApplicationId getAppId(java.lang.Short id)
getAppId in interface org.onosproject.app.ApplicationIdStorepublic org.onosproject.core.ApplicationId getAppId(java.lang.String name)
getAppId in interface org.onosproject.app.ApplicationIdStorepublic org.onosproject.core.ApplicationId registerApplication(java.lang.String name)
registerApplication in interface org.onosproject.app.ApplicationIdStore