public interface Reconfigurable extends Configurable
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.String> |
reconfigurableConfigs()
Returns the names of configs that may be reconfigured.
|
void |
reconfigure(java.util.Map<java.lang.String,?> configs)
Reconfigures this instance with the given key-value pairs.
|
void |
validateReconfiguration(java.util.Map<java.lang.String,?> configs)
Validates the provided configuration.
|
configurejava.util.Set<java.lang.String> reconfigurableConfigs()
void validateReconfiguration(java.util.Map<java.lang.String,?> configs)
throws ConfigException
ConfigException - if the provided configs are not valid. The exception
message from ConfigException will be returned to the client in
the AlterConfigs response.void reconfigure(java.util.Map<java.lang.String,?> configs)
Configurable.configure(Map). This method will only be invoked if
the configs have passed validation using validateReconfiguration(Map).