Class ConfigurationCopy

    • Constructor Detail

      • ConfigurationCopy

        public ConfigurationCopy​(Map<String,​String> config)
        Creates a new configuration.
        Parameters:
        config - configuration property key/value pairs to copy
      • ConfigurationCopy

        public ConfigurationCopy​(Iterable<Map.Entry<String,​String>> config)
        Creates a new configuration.
        Parameters:
        config - configuration property iterable to use for copying
      • ConfigurationCopy

        public ConfigurationCopy()
        Creates a new empty configuration.
    • Method Detail

      • getProperties

        public void getProperties​(Map<String,​String> props,
                                  com.google.common.base.Predicate<String> filter)
        Description copied from class: AccumuloConfiguration
        Returns property key/value pairs in this configuration. The pairs include those defined in this configuration which pass the given filter, and those supplied from the parent configuration which are not included from here.
        Specified by:
        getProperties in class AccumuloConfiguration
        Parameters:
        props - properties object to populate
        filter - filter for accepting properties from this configuration
      • set

        public void set​(Property prop,
                        String value)
        Sets a property in this configuration.
        Parameters:
        prop - property to set
        value - property value
      • set

        public void set​(String key,
                        String value)
        Sets a property in this configuration.
        Parameters:
        key - key of property to set
        value - property value
      • getUpdateCount

        public long getUpdateCount()
        Description copied from class: AccumuloConfiguration
        Each time configuration changes, this counter should increase. Anything that caches information that is derived from configuration can use this method to know when to update.
        Overrides:
        getUpdateCount in class AccumuloConfiguration