Class HazelcastSessionDataStoreFactory

java.lang.Object
org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
org.eclipse.jetty.hazelcast.session.HazelcastSessionDataStoreFactory
All Implemented Interfaces:
org.eclipse.jetty.server.session.SessionDataStoreFactory

public class HazelcastSessionDataStoreFactory extends org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory implements org.eclipse.jetty.server.session.SessionDataStoreFactory
Factory to construct HazelcastSessionDataStore
  • Constructor Details

    • HazelcastSessionDataStoreFactory

      public HazelcastSessionDataStoreFactory()
  • Method Details

    • isUseQueries

      public boolean isUseQueries()
    • setUseQueries

      public void setUseQueries(boolean useQueries)
    • getSessionDataStore

      public org.eclipse.jetty.server.session.SessionDataStore getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler handler) throws Exception
      Specified by:
      getSessionDataStore in interface org.eclipse.jetty.server.session.SessionDataStoreFactory
      Throws:
      Exception
    • isOnlyClient

      public boolean isOnlyClient()
    • setOnlyClient

      public void setOnlyClient(boolean onlyClient)
      Parameters:
      onlyClient - if true the session manager will only connect to an external Hazelcast instance and not use this JVM to start an Hazelcast instance
    • getConfigurationLocation

      public String getConfigurationLocation()
    • setConfigurationLocation

      public void setConfigurationLocation(String configurationLocation)
    • getMapName

      public String getMapName()
    • setMapName

      public void setMapName(String mapName)
    • getHazelcastInstance

      public com.hazelcast.core.HazelcastInstance getHazelcastInstance()
    • setHazelcastInstance

      public void setHazelcastInstance(com.hazelcast.core.HazelcastInstance hazelcastInstance)
    • getMapConfig

      public com.hazelcast.config.MapConfig getMapConfig()
    • setMapConfig

      public void setMapConfig(com.hazelcast.config.MapConfig mapConfig)
    • getHazelcastInstanceName

      public String getHazelcastInstanceName()
    • setHazelcastInstanceName

      public void setHazelcastInstanceName(String hazelcastInstanceName)
    • getAddresses

      public String getAddresses()
    • setAddresses

      public void setAddresses(String addresses)