Interface DynamicConfigApplier.ConfigChangeHandler

Enclosing class:
DynamicConfigApplier
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DynamicConfigApplier.ConfigChangeHandler
Functional interface for applying configuration changes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    apply(String key, @Nullable String oldValue, @Nullable String newValue)
    Apply a configuration change.
  • Method Details

    • apply

      void apply(String key, @Nullable String oldValue, @Nullable String newValue) throws Exception
      Apply a configuration change.
      Parameters:
      key - the configuration key
      oldValue - the previous value (null if new)
      newValue - the new value (null if deleted)
      Throws:
      Exception - if application fails