Package org.eclipse.jetty.server.session
Class NullSessionCacheFactory
- java.lang.Object
-
- org.eclipse.jetty.server.session.AbstractSessionCacheFactory
-
- org.eclipse.jetty.server.session.NullSessionCacheFactory
-
- All Implemented Interfaces:
SessionCacheFactory
public class NullSessionCacheFactory extends AbstractSessionCacheFactory
NullSessionCacheFactory Factory for NullSessionCaches.
-
-
Constructor Summary
Constructors Constructor Description NullSessionCacheFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getEvictionPolicy()
SessionCache
getSessionCache(SessionHandler handler)
boolean
isSaveOnInactiveEvict()
void
setEvictionPolicy(int evictionPolicy)
void
setSaveOnInactiveEvict(boolean saveOnInactiveEvict)
-
Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionCacheFactory
isFlushOnResponseCommit, isRemoveUnloadableSessions, isSaveOnCreate, setFlushOnResponseCommit, setRemoveUnloadableSessions, setSaveOnCreate
-
-
-
-
Method Detail
-
getEvictionPolicy
public int getEvictionPolicy()
- Overrides:
getEvictionPolicy
in classAbstractSessionCacheFactory
- Returns:
- the evictionPolicy
-
setEvictionPolicy
public void setEvictionPolicy(int evictionPolicy)
- Overrides:
setEvictionPolicy
in classAbstractSessionCacheFactory
- Parameters:
evictionPolicy
- the evictionPolicy to set
-
isSaveOnInactiveEvict
public boolean isSaveOnInactiveEvict()
- Overrides:
isSaveOnInactiveEvict
in classAbstractSessionCacheFactory
- Returns:
- the saveOnInactiveEvict
-
setSaveOnInactiveEvict
public void setSaveOnInactiveEvict(boolean saveOnInactiveEvict)
- Overrides:
setSaveOnInactiveEvict
in classAbstractSessionCacheFactory
- Parameters:
saveOnInactiveEvict
- the saveOnInactiveEvict to set
-
getSessionCache
public SessionCache getSessionCache(SessionHandler handler)
-
-