Package io.aiven.commons.kafka.config
Class CommonConfig.ChangeTrackingMap
java.lang.Object
io.aiven.commons.kafka.config.CommonConfig.ChangeTrackingMap
- Enclosing class:
- CommonConfig
A map of values that allows overrides.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChangeTrackingMap
Constructor.- Parameters:
baseMap- the original map.
-
-
Method Details
-
override
Sets the override for a key. Passingnullremoves any override, any other values sets the override.- Parameters:
key- the key to override.value- the value to set the key to.
-
get
Gets the current value of the key. This is the last override or the current value if no override is present.- Parameters:
key- the key to get the value for.- Returns:
- the current value.
-