public interface Cache
Defines methods required for storing rendered document and document resources сache.
Modifier and Type | Method and Description |
---|---|
<T> T |
get(String key)
Gets the entry associated with this key if present and null otherwise.
|
List<String> |
getKeys(String filter)
Returns all keys matching filter.
|
void |
set(String key,
Object value)
Inserts a cache entry into the cache.
|
<T> T get(String key)
Gets the entry associated with this key if present and null otherwise.
key
- A key identifying the requested entry.Object
if the key was found and null otherwise.List<String> getKeys(String filter)
Returns all keys matching filter.
filter
- The filter to use.