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()
boolean
isInvalidateOnShutdown()
boolean
isSaveOnInactiveEvict()
SessionCache
newSessionCache(SessionHandler handler)
void
setEvictionPolicy(int evictionPolicy)
void
setInvalidateOnShutdown(boolean invalidateOnShutdown)
void
setSaveOnInactiveEvict(boolean saveOnInactiveEvict)
-
Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionCacheFactory
getSessionCache, 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
-
isInvalidateOnShutdown
public boolean isInvalidateOnShutdown()
- Overrides:
isInvalidateOnShutdown
in classAbstractSessionCacheFactory
-
setInvalidateOnShutdown
public void setInvalidateOnShutdown(boolean invalidateOnShutdown)
- Overrides:
setInvalidateOnShutdown
in classAbstractSessionCacheFactory
-
newSessionCache
public SessionCache newSessionCache(SessionHandler handler)
- Specified by:
newSessionCache
in classAbstractSessionCacheFactory
-
-