Interface CSConfigurationServiceType

All Superinterfaces:
AutoCloseable, com.io7m.repetoir.core.RPServiceType
All Known Implementing Classes:
CSConfigurationService

public interface CSConfigurationServiceType extends com.io7m.repetoir.core.RPServiceType, AutoCloseable
A service that frequently reloads a configuration, and always returns the most recently successfully loaded configuration.
  • Method Details

    • configuration

      CSConfiguration configuration()
      Returns:
      The most recent configuration
    • reload

      void reload()
      Reload the configuration.
    • events

      Returns:
      An event stream that publishes a stream of distinct configuration values