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 TypeMethodDescriptionlonggetLastUpdateTime(String path, String name) Returns the last update time for the specified handle and name combination.voidupdate(ConfigUpdate update) Removes all attributes in theremoveslist and then adds all attributes/values found in theaddslist.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 theremoveslist and then adds all attributes/values found in theaddslist.- 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
-