public interface CacheableManager<T,K>
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(K key)
Checks if an entry exists in the cache.
|
void |
flushCache()
Flushes all entries from the cache.
|
void |
flushCache(K key)
Flushes one entry from the cache.
|
Set<K> |
getCachedKeys()
Returns a set of keys stored in the cache.
|
void |
setCache(T cache)
Sets the cache.
|
void setCache(T cache)
cache
- New cache to use.void flushCache()
void flushCache(K key)
key
- Entry's key.boolean containsKey(K key)
key
- Entry's keyCopyright © 2017 JBoss by Red Hat. All rights reserved.