Class LayeredFileSystemConfig

java.lang.Object
io.github.qubitpi.athena.config.LayeredFileSystemConfig
All Implemented Interfaces:
SystemConfig

@Singleton @Immutable @ThreadSafe public class LayeredFileSystemConfig extends Object implements SystemConfig
A class to hold and fetch configuration values from the environment and runtime.

LayeredFileSystemConfig uses a layered model with the highest priority granted to runtime variable modifications, followed by environment variables. It also uses a Property resource to allow runtime override of configured behavior.

  • Constructor Details

    • LayeredFileSystemConfig

      public LayeredFileSystemConfig()
      Constructor.
      Throws:
      IllegalStateException - if loading an existing userConfig.properties file fails
  • Method Details