Class MemoryConfig


  • public class MemoryConfig
    extends IConfig
    Configuration backed by memory.
    • Constructor Detail

      • MemoryConfig

        public MemoryConfig​(Properties properties)
    • Method Detail

      • getProperty

        public String getProperty​(String name)
        Description copied from class: IConfig
        Same semantic of Properties
        Specified by:
        getProperty in class IConfig
        Parameters:
        name - property name.
        Returns:
        property value.
      • getProperty

        public String getProperty​(String name,
                                  String defaultValue)
        Description copied from class: IConfig
        Same semantic of Properties
        Specified by:
        getProperty in class IConfig
        Parameters:
        name - property name.
        defaultValue - default value to return in case the property doesn't exists.
        Returns:
        property value.