Interface RemoteConfigurationSource<T>

All Known Implementing Classes:
KubernetesConfigMapRemoteConfigurationSource, PollingRemoteConfigurationSource

public interface RemoteConfigurationSource<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the latest received configuration from this source.
    void
    Registers a callback to be called when the remote configuration has changed
    default void
     
    default void
     
  • Method Details

    • getConfig

      T getConfig()
      Returns the latest received configuration from this source.
    • setConfigurationChangeCallback

      void setConfigurationChangeCallback(Consumer<T> callback)
      Registers a callback to be called when the remote configuration has changed
    • start

      default void start()
    • stop

      default void stop()