public interface Cache<K,V>
Modifier and Type | Method and Description |
---|---|
V |
getEntry(K key)
Retrieve the cache entry for the specified key.
|
void |
invalidateCache()
Invalidate the entire cache
|
void |
invalidateCache(K key)
Invalidate the cache for a specific key.
|
void |
setEntry(K key,
V value)
Set the cache entry for the specified path.
|
V getEntry(K key)
key
- The cache entry keyvoid setEntry(K key, V value)
key
- The cache entry keyvalue
- The cache entryvoid invalidateCache()
void invalidateCache(K key)
key
- The cache entry keyCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.