Class DistributedApplicationIdStore

  • All Implemented Interfaces:
    org.onosproject.app.ApplicationIdStore

    public class DistributedApplicationIdStore
    extends Object
    implements org.onosproject.app.ApplicationIdStore
    ApplicationIdStore implementation on top of AtomicCounter and ConsistentMap primitives.
    • Field Detail

      • storageService

        protected org.onosproject.store.service.StorageService storageService
    • Constructor Detail

      • DistributedApplicationIdStore

        public DistributedApplicationIdStore()
    • Method Detail

      • activate

        public void activate()
      • deactivate

        public void deactivate()
      • getAppIds

        public Set<org.onosproject.core.ApplicationId> getAppIds()
        Specified by:
        getAppIds in interface org.onosproject.app.ApplicationIdStore
      • getAppId

        public org.onosproject.core.ApplicationId getAppId​(Short id)
        Specified by:
        getAppId in interface org.onosproject.app.ApplicationIdStore
      • getAppId

        public org.onosproject.core.ApplicationId getAppId​(String name)
        Specified by:
        getAppId in interface org.onosproject.app.ApplicationIdStore
      • registerApplication

        public org.onosproject.core.ApplicationId registerApplication​(String name)
        Specified by:
        registerApplication in interface org.onosproject.app.ApplicationIdStore