public interface SecurityCache<T>
Modifier and Type | Method and Description |
---|---|
void |
addCacheEntry(T key,
Map<String,Object> contextMap)
Add a cache entry
|
boolean |
cacheHit(T key)
Cache Entry present?
|
void |
cacheOperation(T key,
Map<String,Object> contextMap)
Perform a cache operation
|
<Y> Y |
get(T key)
Get Cache Entry
|
void addCacheEntry(T key, Map<String,Object> contextMap) throws SecurityCacheException
key
- contextMap
- a contextual mapSecurityCacheException
boolean cacheHit(T key)
key
- Key for the cache entryvoid cacheOperation(T key, Map<String,Object> contextMap) throws SecurityCacheException
key
- Key for the cache entrycontextMap
- A contextual mapSecurityCacheException
<Y> Y get(T key) throws SecurityCacheException
Y
- T
- keySecurityCacheException
Copyright © 2019 JBoss by Red Hat. All rights reserved.