Class DistributedApplicationIdStore

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

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

      Fields 
      Modifier and Type Field Description
      protected org.onosproject.store.service.StorageService storageService  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 java.util.Set<org.onosproject.core.ApplicationId> getAppIds()
        Specified by:
        getAppIds in interface org.onosproject.app.ApplicationIdStore
      • getAppId

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

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

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