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
-
Constructor Summary
ConstructorsConstructorDescriptionPlayEhCacheStore(com.google.inject.Provider<play.cache.SyncCacheApi> cacheProvider) PlayEhCacheStore(play.cache.SyncCacheApi cacheApi) -
Method Summary
Modifier and TypeMethodDescriptionprotected net.sf.ehcache.Ehcacheprotected voidinternalSet(K key, O value) Methods inherited from class org.pac4j.play.store.PlayCacheStore
computeKey, getCache, internalGet, internalInit, internalRemoveMethods inherited from class org.pac4j.core.store.AbstractStore
get, remove, setMethods 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:
internalSetin classPlayCacheStore<K,O>
-