Interface SharedData
public interface SharedData
SharedData is used to access a model's, or globally, shared cache.
-
Method Summary
Modifier and TypeMethodDescriptionclear()
Clear the shared data cache.Retrieves an existing object from the cache.Put a new key/value mapping into the cache.Remove a key/value mapping from the cache.
-
Method Details
-
get
Retrieves an existing object from the cache.- Parameters:
key
- the key mapping to a value.- Returns:
- A cache result.
-
put
Put a new key/value mapping into the cache.- Parameters:
key
- the key mapping to a value.value
- the value.- Returns:
- a cache result.
-
remove
Remove a key/value mapping from the cache.- Parameters:
key
- the key mapping to a value.- Returns:
- a cache result.
-
clear
CacheResult clear()Clear the shared data cache.- Returns:
- a cache result.
-