Package io.jmix.flowui.settings
Interface UserSettingsCache
- All Known Implementing Classes:
UserSettingsCacheImpl
public interface UserSettingsCache
Provides saving/loading settings using the cache.
-
Method Summary
-
Method Details
-
get
- Parameters:
key
- setting identifier- Returns:
- setting from cache or if cache does not contain setting, loads it from store
-
put
Adds a value associated with a key to the cache and store.- Parameters:
key
- setting identifiervalue
- setting value
-
delete
Deletes setting from cache and store.- Parameters:
key
- setting identifier
-
clear
void clear()Clears cache.
-