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>
public class PlayEhCacheStore<K,O> extends PlayCacheStore<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_SERIALIZATION_HELPER
-
-
Constructor Summary
Constructors Constructor Description PlayEhCacheStore(com.google.inject.Provider<play.cache.SyncCacheApi> cacheProvider)
PlayEhCacheStore(play.cache.SyncCacheApi cacheApi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected net.sf.ehcache.Ehcache
getEhcache()
protected void
internalSet(K key, O value)
String
toString()
-
Methods inherited from class org.pac4j.play.store.PlayCacheStore
computeKey, getCache, getTimeout, internalGet, internalInit, internalRemove, setTimeout
-
-
-
-
Method Detail
-
getEhcache
protected net.sf.ehcache.Ehcache getEhcache()
-
internalSet
protected void internalSet(K key, O value)
- Overrides:
internalSet
in classPlayCacheStore<K,O>
-
toString
public String toString()
- Overrides:
toString
in classPlayCacheStore<K,O>
-
-