public class DefaultSessionCacheFactory extends Object implements SessionCacheFactory
Constructor and Description |
---|
DefaultSessionCacheFactory() |
Modifier and Type | Method and Description |
---|---|
int |
getEvictionPolicy() |
SessionCache |
getSessionCache(SessionHandler handler) |
boolean |
isRemoveUnloadableSessions() |
boolean |
isSaveOnInactiveEvict() |
void |
setEvictionPolicy(int evictionPolicy) |
void |
setRemoveUnloadableSessions(boolean removeUnloadableSessions) |
void |
setSaveOnInactiveEvict(boolean saveOnInactiveEvict) |
public boolean isRemoveUnloadableSessions()
public void setRemoveUnloadableSessions(boolean removeUnloadableSessions)
public int getEvictionPolicy()
public void setEvictionPolicy(int evictionPolicy)
public boolean isSaveOnInactiveEvict()
public void setSaveOnInactiveEvict(boolean saveOnInactiveEvict)
public SessionCache getSessionCache(SessionHandler handler)
getSessionCache
in interface SessionCacheFactory
SessionCacheFactory.getSessionCache(org.eclipse.jetty.server.session.SessionHandler)
Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.