Interface UiSettingsCache

All Known Implementing Classes:
UiSettingsCacheImpl

public interface UiSettingsCache
Provides saving/loading settings using the cache.
  • Method Details

    • getSetting

      @Nullable String getSetting(String name)
      Parameters:
      name - setting name
      Returns:
      setting from cache or if cache does not contain setting, loads it from store
    • setSetting

      void setSetting(String name, @Nullable String value)
      Sets a setting to the cache and store.
      Parameters:
      name - setting name
      value - setting value
    • deleteSettings

      void deleteSettings(String name)
      Deletes setting from cache and store.
      Parameters:
      name - setting name
    • clear

      void clear()
      Clears cache.