public abstract class SessionIdManagerSkeleton
extends org.eclipse.jetty.server.session.AbstractSessionIdManager
| Modifier | Constructor and Description |
|---|---|
protected |
SessionIdManagerSkeleton(org.eclipse.jetty.server.Server server) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(HttpSession session) |
protected abstract void |
deleteClusterId(String clusterId) |
protected void |
doStart() |
protected void |
doStop() |
String |
getClusterId(String nodeId) |
String |
getNodeId(String clusterId,
HttpServletRequest request) |
protected abstract boolean |
hasClusterId(String clusterId) |
boolean |
idInUse(String id) |
void |
invalidateAll(String clusterId) |
void |
removeSession(HttpSession session) |
protected abstract List<String> |
scavenge(List<String> clusterIds) |
void |
setScavengerInterval(long scavengerInterval) |
protected abstract void |
storeClusterId(String clusterId) |
getRandom, getWorkerName, initRandom, newSessionId, setRandom, setWorkerNameaddLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop, toStringprotected SessionIdManagerSkeleton(org.eclipse.jetty.server.Server server)
public final void setScavengerInterval(long scavengerInterval)
protected final void doStart()
throws Exception
doStart in class org.eclipse.jetty.server.session.AbstractSessionIdManagerExceptionprotected final void doStop()
throws Exception
doStop in class org.eclipse.jetty.server.session.AbstractSessionIdManagerExceptionpublic final String getNodeId(String clusterId, HttpServletRequest request)
public final boolean idInUse(String id)
public final void addSession(HttpSession session)
public final void removeSession(HttpSession session)
public final void invalidateAll(String clusterId)
protected abstract void deleteClusterId(String clusterId)
protected abstract void storeClusterId(String clusterId)
protected abstract boolean hasClusterId(String clusterId)
Copyright © 2011-2012 Ovea. All Rights Reserved.