@Service public class DistributedApplicationIdStore extends AbstractHazelcastStore<AppIdEvent,AppIdStoreDelegate> implements org.onosproject.core.ApplicationIdStore
AbstractHazelcastStore.RemoteCacheEventHandler<K,V>, AbstractHazelcastStore.RemoteEventHandler<K,V>| Modifier and Type | Field and Description |
|---|---|
protected Map<Short,org.onosproject.core.DefaultApplicationId> |
appIds |
protected SMap<String,org.onosproject.core.DefaultApplicationId> |
appIdsByName |
protected com.hazelcast.core.IAtomicLong |
lastAppId |
log, serializer, storeService, theInstance| Constructor and Description |
|---|
DistributedApplicationIdStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
org.onosproject.core.ApplicationId |
getAppId(Short id) |
org.onosproject.core.ApplicationId |
getAppId(String name) |
Set<org.onosproject.core.ApplicationId> |
getAppIds() |
org.onosproject.core.ApplicationId |
registerApplication(String name) |
deserialize, serialize@Activate public void activate()
activate in class AbstractHazelcastStore<AppIdEvent,AppIdStoreDelegate>@Deactivate public void deactivate()
public Set<org.onosproject.core.ApplicationId> getAppIds()
getAppIds in interface org.onosproject.core.ApplicationIdStorepublic org.onosproject.core.ApplicationId getAppId(Short id)
getAppId in interface org.onosproject.core.ApplicationIdStorepublic org.onosproject.core.ApplicationId getAppId(String name)
getAppId in interface org.onosproject.core.ApplicationIdStorepublic org.onosproject.core.ApplicationId registerApplication(String name)
registerApplication in interface org.onosproject.core.ApplicationIdStoreCopyright © 2015. All rights reserved.