Package org.eclipse.jetty.gcloud.session
Class GCloudSessionDataStoreFactory
- java.lang.Object
-
- org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
-
- org.eclipse.jetty.gcloud.session.GCloudSessionDataStoreFactory
-
- All Implemented Interfaces:
SessionDataStoreFactory
public class GCloudSessionDataStoreFactory extends AbstractSessionDataStoreFactory
GCloudSessionDataStoreFactory
-
-
Constructor Summary
Constructors Constructor Description GCloudSessionDataStoreFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBackoffMs()
GCloudSessionDataStore.EntityDataModel
getEntityDataModel()
int
getMaxRetries()
java.lang.String
getNamespace()
SessionDataStore
getSessionDataStore(SessionHandler handler)
void
setBackoffMs(int backoffMs)
void
setEntityDataModel(GCloudSessionDataStore.EntityDataModel model)
void
setMaxRetries(int maxRetries)
void
setNamespace(java.lang.String namespace)
-
Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionDataStoreFactory
getGracePeriodSec, getSavePeriodSec, setGracePeriodSec, setSavePeriodSec
-
-
-
-
Method Detail
-
getEntityDataModel
public GCloudSessionDataStore.EntityDataModel getEntityDataModel()
-
setEntityDataModel
public void setEntityDataModel(GCloudSessionDataStore.EntityDataModel model)
-
getMaxRetries
public int getMaxRetries()
-
setMaxRetries
public void setMaxRetries(int maxRetries)
-
getBackoffMs
public int getBackoffMs()
-
setBackoffMs
public void setBackoffMs(int backoffMs)
-
getNamespace
public java.lang.String getNamespace()
- Returns:
- the namespace
-
setNamespace
public void setNamespace(java.lang.String namespace)
- Parameters:
namespace
- the namespace to set
-
getSessionDataStore
public SessionDataStore getSessionDataStore(SessionHandler handler) throws java.lang.Exception
- Throws:
java.lang.Exception
- See Also:
SessionDataStoreFactory.getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler)
-
-