Interface PropertySource.Editor

  • Enclosing interface:
    PropertySource

    public static interface PropertySource.Editor
    Provides a means to update the underlying store in a thread-safe manner.
    • Method Detail

      • setValue

        void setValue​(String key,
                      String value)
        Sets the specified key to the specified value.
        Parameters:
        key - the key
        value - the value
      • removeKeysStartingWith

        void removeKeysStartingWith​(String prefix)
        Removes all keys with the specified prefix.
        Parameters:
        prefix - the key prefix to remove
      • commit

        void commit()
        Saves all changes to the underlying store.