Class InfinispanSessionDataStoreFactory

java.lang.Object
org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
org.eclipse.jetty.session.infinispan.InfinispanSessionDataStoreFactory
All Implemented Interfaces:
SessionDataStoreFactory

public class InfinispanSessionDataStoreFactory extends AbstractSessionDataStoreFactory
InfinispanSessionDataStoreFactory
  • Field Details

    • _queryManager

      protected QueryManager _queryManager
    • _serialization

      protected boolean _serialization
  • Constructor Details

    • InfinispanSessionDataStoreFactory

      public InfinispanSessionDataStoreFactory()
  • Method Details

    • getInfinispanIdleTimeoutSec

      public int getInfinispanIdleTimeoutSec()
      Returns:
      the infinispanIdleTimeoutSec
    • setInfinispanIdleTimeoutSec

      public void setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec)
      Parameters:
      infinispanIdleTimeoutSec - the infinispanIdleTimeoutSec to set
    • getSessionDataStore

      public SessionDataStore getSessionDataStore(SessionHandler handler) throws Exception
      Throws:
      Exception
    • getCache

      public org.infinispan.commons.api.BasicCache<String,InfinispanSessionData> getCache()
      Get the clustered cache instance.
      Returns:
      the cache
    • setCache

      public void setCache(org.infinispan.commons.api.BasicCache<String,InfinispanSessionData> cache)
      Set the clustered cache instance.
      Parameters:
      cache - the cache
    • getQueryManager

      public QueryManager getQueryManager()
    • setQueryManager

      public void setQueryManager(QueryManager queryManager)
    • setSerialization

      public void setSerialization(boolean serialization)
    • getSerialization

      public boolean getSerialization()