# 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 Summary

  Modifier and Type
  Method
  Description
  `CSConfiguration`
  `configuration()`
  `Flow.Publisher<CSConfiguration>`
  `events()`
  `void`
  `reload()`
  Reload the configuration.

  ### Methods inherited from interface java.lang.AutoCloseable

  `close`

  ### Methods inherited from interface com.io7m.repetoir.core.RPServiceType

  `description`

- ## Method Details

  - ### configuration

    CSConfiguration configuration()
    Returns:
      The most recent configuration

  - ### reload

    void reload()
    Reload the configuration.

  - ### events

    Flow.Publisher<CSConfiguration> events()
    Returns:
      An event stream that publishes a stream of distinct configuration values