public class SpaceSessionDataStore
extends org.eclipse.jetty.server.session.AbstractSessionDataStore
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener
_context, _gracePeriodSec, _lastExpiryCheckTime, _savePeriodSec
Constructor and Description |
---|
SpaceSessionDataStore(GigaSpace gigaSpace) |
Modifier and Type | Method and Description |
---|---|
boolean |
delete(String id) |
Set<String> |
doGetExpired(Set<String> candidates) |
org.eclipse.jetty.server.session.SessionData |
doLoad(String id) |
void |
doStore(String id,
org.eclipse.jetty.server.session.SessionData data,
long lastSaveTime) |
boolean |
exists(String id) |
void |
initialize(org.eclipse.jetty.server.session.SessionContext context) |
boolean |
isPassivating() |
org.eclipse.jetty.server.session.SessionData |
newSessionData(String id,
long created,
long accessed,
long lastAccessed,
long maxInactiveMs) |
protected IdQuery<SpaceSessionData> |
query(String id) |
void |
setLease(long lease) |
checkStarted, doStart, getExpired, getGracePeriodSec, getSavePeriodSec, load, setGracePeriodSec, setSavePeriodSec, store, toString
addBean, addBean, addEventListener, addManaged, contains, destroy, doStop, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public SpaceSessionDataStore(GigaSpace gigaSpace)
public void initialize(org.eclipse.jetty.server.session.SessionContext context) throws Exception
initialize
in interface org.eclipse.jetty.server.session.SessionDataMap
initialize
in class org.eclipse.jetty.server.session.AbstractSessionDataStore
Exception
public boolean isPassivating()
public void doStore(String id, org.eclipse.jetty.server.session.SessionData data, long lastSaveTime) throws Exception
doStore
in class org.eclipse.jetty.server.session.AbstractSessionDataStore
Exception
public org.eclipse.jetty.server.session.SessionData doLoad(String id) throws Exception
doLoad
in class org.eclipse.jetty.server.session.AbstractSessionDataStore
Exception
public Set<String> doGetExpired(Set<String> candidates)
doGetExpired
in class org.eclipse.jetty.server.session.AbstractSessionDataStore
public org.eclipse.jetty.server.session.SessionData newSessionData(String id, long created, long accessed, long lastAccessed, long maxInactiveMs)
newSessionData
in interface org.eclipse.jetty.server.session.SessionDataStore
newSessionData
in class org.eclipse.jetty.server.session.AbstractSessionDataStore
public void setLease(long lease)
protected IdQuery<SpaceSessionData> query(String id)
Copyright © GigaSpaces.