public interface SessionCache extends LifeCycle
LifeCycle.Listener
Modifier and Type | Field and Description |
---|---|
static int |
EVICT_ON_INACTIVITY |
static int |
EVICT_ON_SESSION_EXIT |
static int |
NEVER_EVICT |
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
static final int NEVER_EVICT
static final int EVICT_ON_SESSION_EXIT
static final int EVICT_ON_INACTIVITY
void initialize(SessionContext context)
SessionHandler getSessionHandler()
Session newSession(javax.servlet.http.HttpServletRequest request, String id, long time, long maxInactiveMs)
Session newSession(SessionData data)
Session renewSessionId(String oldId, String newId) throws Exception
Exception
void shutdown()
SessionDataStore getSessionDataStore()
void setSessionDataStore(SessionDataStore sds)
void checkInactiveSession(Session session)
void setEvictionPolicy(int policy)
int getEvictionPolicy()
void setSaveOnInactiveEviction(boolean saveOnEvict)
boolean isSaveOnInactiveEviction()
void setSaveOnCreate(boolean saveOnCreate)
boolean isSaveOnCreate()
void setRemoveUnloadableSessions(boolean removeUnloadableSessions)
boolean isRemoveUnloadableSessions()
Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.