Class DistributedComponentConfigStore

  • All Implemented Interfaces:
    org.onosproject.cfg.ComponentConfigStore, org.onosproject.store.Store<org.onosproject.cfg.ComponentConfigEvent,​org.onosproject.cfg.ComponentConfigStoreDelegate>

    public class DistributedComponentConfigStore
    extends org.onosproject.store.AbstractStore<org.onosproject.cfg.ComponentConfigEvent,​org.onosproject.cfg.ComponentConfigStoreDelegate>
    implements org.onosproject.cfg.ComponentConfigStore
    Manages inventory of component configurations in a distributed data store that provides strong sequential consistency guarantees.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.onosproject.store.service.StorageService storageService  
      • Fields inherited from class org.onosproject.store.AbstractStore

        delegate
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate()  
      void deactivate()  
      java.util.Set<java.lang.String> getProperties​(java.lang.String componentName)  
      java.lang.String getProperty​(java.lang.String componentName, java.lang.String name)  
      void setProperty​(java.lang.String componentName, java.lang.String name, java.lang.String value)  
      void setProperty​(java.lang.String componentName, java.lang.String name, java.lang.String value, boolean override)  
      void unsetProperty​(java.lang.String componentName, java.lang.String name)  
      • Methods inherited from class org.onosproject.store.AbstractStore

        hasDelegate, notifyDelegate, notifyDelegate, setDelegate, unsetDelegate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.onosproject.store.Store

        hasDelegate, setDelegate, unsetDelegate
    • Field Detail

      • storageService

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

      • DistributedComponentConfigStore

        public DistributedComponentConfigStore()
    • Method Detail

      • activate

        public void activate()
      • deactivate

        public void deactivate()
      • setProperty

        public void setProperty​(java.lang.String componentName,
                                java.lang.String name,
                                java.lang.String value)
        Specified by:
        setProperty in interface org.onosproject.cfg.ComponentConfigStore
      • setProperty

        public void setProperty​(java.lang.String componentName,
                                java.lang.String name,
                                java.lang.String value,
                                boolean override)
        Specified by:
        setProperty in interface org.onosproject.cfg.ComponentConfigStore
      • unsetProperty

        public void unsetProperty​(java.lang.String componentName,
                                  java.lang.String name)
        Specified by:
        unsetProperty in interface org.onosproject.cfg.ComponentConfigStore
      • getProperties

        public java.util.Set<java.lang.String> getProperties​(java.lang.String componentName)
        Specified by:
        getProperties in interface org.onosproject.cfg.ComponentConfigStore
      • getProperty

        public java.lang.String getProperty​(java.lang.String componentName,
                                            java.lang.String name)
        Specified by:
        getProperty in interface org.onosproject.cfg.ComponentConfigStore