Package org.pac4j.play.store
Class PlayEhCacheStore<K,O>
java.lang.Object
org.pac4j.core.util.InitializableObject
org.pac4j.core.store.AbstractStore<K,O>
org.pac4j.play.store.PlayCacheStore<K,O>
org.pac4j.play.store.PlayEhCacheStore<K,O>
- All Implemented Interfaces:
org.pac4j.core.store.Store<K,
O>
Store dedicated to EhCache.
- Since:
- 9.0.0
- Author:
- Jerome Leleu
-
Field Summary
Fields inherited from class org.pac4j.play.store.PlayCacheStore
JAVA_SERIALIZER
-
Constructor Summary
ConstructorDescriptionPlayEhCacheStore
(com.google.inject.Provider<play.cache.SyncCacheApi> cacheProvider) PlayEhCacheStore
(play.cache.SyncCacheApi cacheApi) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.sf.ehcache.Ehcache
protected void
internalSet
(K key, O value) Methods inherited from class org.pac4j.play.store.PlayCacheStore
computeKey, getCache, internalGet, internalInit, internalRemove
Methods inherited from class org.pac4j.core.store.AbstractStore
get, remove, set
Methods inherited from class org.pac4j.core.util.InitializableObject
afterInternalInit, beforeInternalInit, getInitialized, getLastAttempt, getMaxAttempts, getMinTimeIntervalBetweenAttemptsInMilliseconds, getNbAttempts, init, init, isInitialized, reinit, setMaxAttempts, setMinTimeIntervalBetweenAttemptsInMilliseconds, shouldInitialize, toString
-
Constructor Details
-
PlayEhCacheStore
@Inject public PlayEhCacheStore(play.cache.SyncCacheApi cacheApi) -
PlayEhCacheStore
public PlayEhCacheStore(com.google.inject.Provider<play.cache.SyncCacheApi> cacheProvider)
-
-
Method Details
-
getEhcache
protected net.sf.ehcache.Ehcache getEhcache() -
internalSet
- Overrides:
internalSet
in classPlayCacheStore<K,
O>
-