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 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​(String componentName,
                                String name,
                                String value)
        Specified by:
        setProperty in interface org.onosproject.cfg.ComponentConfigStore
      • setProperty

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

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

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

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