public class DefaultSessionCacheFactory extends java.lang.Object implements SessionCacheFactory
Modifier and Type | Field and Description |
---|---|
(package private) int |
_evictionPolicy |
(package private) boolean |
_removeUnloadableSessions |
(package private) boolean |
_saveOnCreate |
(package private) boolean |
_saveOnInactiveEvict |
Constructor and Description |
---|
DefaultSessionCacheFactory() |
Modifier and Type | Method and Description |
---|---|
int |
getEvictionPolicy() |
SessionCache |
getSessionCache(SessionHandler handler) |
boolean |
isRemoveUnloadableSessions() |
boolean |
isSaveOnCreate() |
boolean |
isSaveOnInactiveEvict() |
void |
setEvictionPolicy(int evictionPolicy) |
void |
setRemoveUnloadableSessions(boolean removeUnloadableSessions) |
void |
setSaveOnCreate(boolean saveOnCreate) |
void |
setSaveOnInactiveEvict(boolean saveOnInactiveEvict) |
int _evictionPolicy
boolean _saveOnInactiveEvict
boolean _saveOnCreate
boolean _removeUnloadableSessions
public boolean isSaveOnCreate()
public void setSaveOnCreate(boolean saveOnCreate)
saveOnCreate
- the saveOnCreate to setpublic boolean isRemoveUnloadableSessions()
public void setRemoveUnloadableSessions(boolean removeUnloadableSessions)
removeUnloadableSessions
- the removeUnloadableSessions to setpublic int getEvictionPolicy()
public void setEvictionPolicy(int evictionPolicy)
evictionPolicy
- the evictionPolicy to setpublic boolean isSaveOnInactiveEvict()
public void setSaveOnInactiveEvict(boolean saveOnInactiveEvict)
saveOnInactiveEvict
- the saveOnInactiveEvict to setpublic SessionCache getSessionCache(SessionHandler handler)
getSessionCache
in interface SessionCacheFactory
SessionCacheFactory.getSessionCache(org.eclipse.jetty.server.session.SessionHandler)