Interface MutableConfigSource
- All Superinterfaces:
ConfigSource
Mutable source of configuration data. This is typically backed by a database
that allows config data to be added and removed.
- Since:
- 1.0
- Version:
- 2022-08-30
-
Method Summary
Modifier and TypeMethodDescriptionlong
getLastUpdateTime
(String path, String name) Returns the last update time for the specified handle and name combination.void
update
(ConfigUpdate update) Removes all attributes in theremoves
list and then adds all attributes/values found in theadds
list.Methods inherited from interface com.tccc.kos.commons.core.service.config.ConfigSource
gatherConfigForPath, gatherConfigPaths, gatherOptionsForPath, gatherOptionsPaths, getConfigValue, getName, getRank
-
Method Details
-
update
Removes all attributes in theremoves
list and then adds all attributes/values found in theadds
list.- Parameters:
update
- the updates to make to the source
-
getLastUpdateTime
Returns the last update time for the specified handle and name combination.- Parameters:
path
- the handle path of the config beanname
- the name to query- Returns:
- the last update time, or 0 if it doesn't exist
-