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_SERIALIZER
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayEhCacheStore(com.google.inject.Provider<play.cache.SyncCacheApi> cacheProvider)
     
    PlayEhCacheStore(play.cache.SyncCacheApi cacheApi)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      protected void internalSet(K key, O value)
      Overrides:
      internalSet in class PlayCacheStore<K,O>