public interface AdminCache
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String key)
Checked if content is in the cache.
|
<A> A |
get(String key,
Class<A> clazz)
Retrieve data from cache.
|
Date |
lastUpdated(String key)
Date when was cached data last updated.
|
void |
put(String key,
Object data)
Puts data to cache.
|
<A> A get(String key, Class<A> clazz)
key - in the cacheclazz - Cache data will be converted to requested type using
appropriate AdminCacheObjectProvidernull if not cachedvoid put(String key, Object data)
key - in the cachedata - Cached data will be converted to raw bytes using
appropriate AdminCacheObjectProviderboolean contains(String key)
key - in the cacheCopyright © 2017–2020 Eclipse Foundation. All rights reserved.