public class DecisionCache extends EntitlementBaseCache<IdentityCacheKey,String>
Constructor and Description |
---|
DecisionCache(int timeOut) |
Modifier and Type | Method and Description |
---|---|
void |
addToCache(String key,
String decision)
Can add decision to the cluster with key
|
void |
clearCache()
Clear all decision cache
|
String |
getFromCache(String key)
Can get the decision for the request if it available in the cache.
|
addToCache, clear, clearCacheEntry, getValueFromCache, initCacheBuilder, setCacheEntryCreatedListener, setCacheEntryUpdatedListener, updateToCache
public void addToCache(String key, String decision)
key
- decision
- public String getFromCache(String key)
key
- public void clearCache()
Copyright © 2016 WSO2. All rights reserved.