public class PlayCacheStore<K,O>
extends org.pac4j.core.store.AbstractStore<K,O>
Modifier and Type | Field and Description |
---|---|
static org.pac4j.core.util.JavaSerializationHelper |
JAVA_SERIALIZATION_HELPER |
Constructor and Description |
---|
PlayCacheStore(com.google.inject.Provider<play.cache.SyncCacheApi> cacheProvider) |
PlayCacheStore(play.cache.SyncCacheApi cacheApi) |
Modifier and Type | Method and Description |
---|---|
protected String |
computeKey(Object objKey) |
play.cache.SyncCacheApi |
getCache() |
int |
getTimeout() |
protected O |
internalGet(K key) |
protected void |
internalInit() |
protected void |
internalRemove(K key) |
protected void |
internalSet(K key,
O value) |
void |
setTimeout(int timeout) |
String |
toString() |
public static final org.pac4j.core.util.JavaSerializationHelper JAVA_SERIALIZATION_HELPER
@Inject public PlayCacheStore(play.cache.SyncCacheApi cacheApi)
public PlayCacheStore(com.google.inject.Provider<play.cache.SyncCacheApi> cacheProvider)
protected void internalInit()
protected void internalRemove(K key)
public play.cache.SyncCacheApi getCache()
public int getTimeout()
public void setTimeout(int timeout)
Copyright © 2019. All rights reserved.