public class AuthenticationRequestCache extends org.wso2.carbon.identity.application.common.cache.BaseCache<AuthenticationRequestCacheKey,AuthenticationRequestCacheEntry>
Modifier and Type | Method and Description |
---|---|
void |
addToCache(AuthenticationRequestCacheKey key,
AuthenticationRequestCacheEntry entry)
Add a cache entry.
|
void |
clearCacheEntry(AuthenticationRequestCacheKey key)
Clears a cache entry.
|
static AuthenticationRequestCache |
getInstance()
Singleton method
|
AuthenticationRequestCacheEntry |
getValueFromCache(AuthenticationRequestCacheKey key)
Retrieves a cache entry.
|
public static AuthenticationRequestCache getInstance()
public void addToCache(AuthenticationRequestCacheKey key, AuthenticationRequestCacheEntry entry)
addToCache
in class org.wso2.carbon.identity.application.common.cache.BaseCache<AuthenticationRequestCacheKey,AuthenticationRequestCacheEntry>
key
- Key which cache entry is indexed.entry
- Actual object where cache entry is placed.public AuthenticationRequestCacheEntry getValueFromCache(AuthenticationRequestCacheKey key)
getValueFromCache
in class org.wso2.carbon.identity.application.common.cache.BaseCache<AuthenticationRequestCacheKey,AuthenticationRequestCacheEntry>
key
- CacheKeypublic void clearCacheEntry(AuthenticationRequestCacheKey key)
clearCacheEntry
in class org.wso2.carbon.identity.application.common.cache.BaseCache<AuthenticationRequestCacheKey,AuthenticationRequestCacheEntry>
key
- Key to clear cache.Copyright © 2016 WSO2. All rights reserved.