Interface MutableConfigSource

All Superinterfaces:
ConfigSource

public interface MutableConfigSource extends 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 Details

    • update

      void update(ConfigUpdate update)
      Removes all attributes in the removes list and then adds all attributes/values found in the adds list.
      Parameters:
      update - the updates to make to the source
    • getLastUpdateTime

      long getLastUpdateTime(String path, String name)
      Returns the last update time for the specified handle and name combination.
      Parameters:
      path - the handle path of the config bean
      name - the name to query
      Returns:
      the last update time, or 0 if it doesn't exist