public interface ICache
Modifier and Type | Method and Description |
---|---|
Iterable<String> |
getKeys(String filter)
Returns all keys matching filter.
|
void |
set(String key,
Object value)
Inserts a cache entry into the cache.
|
Object |
tryGetValue(String key)
Gets the entry associated with this key if present.
|
void set(String key, Object value)
key
- A unique identifier for the cache entry.value
- The object to insert.Object tryGetValue(String key)
key
- A key identifying the requested entry.