- All Superinterfaces:
- All Known Subinterfaces:
- All Known Implementing Classes:
public interface Reconfigurable extends Configurable
Interface for reconfigurable classes that support dynamic configuration.
reconfigurableConfigsReturns the names of configs that may be reconfigured.
validateReconfigurationValidates the provided configuration. The provided map contains all configs including any reconfigurable configs that may be different from the initial configuration. Reconfiguration will be not performed if this method throws any exception.
ConfigException- if the provided configs are not valid. The exception message from ConfigException will be returned to the client in the AlterConfigs response.
reconfigureReconfigures this instance with the given key-value pairs. The provided map contains all configs including any reconfigurable configs that may have changed since the object was initially configured using
Configurable.configure(Map). This method will only be invoked if the configs have passed validation using