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
NullSessionCacheFactory
Factory for NullSessionCaches.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
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
-
Constructor Details
-
NullSessionCacheFactory
public NullSessionCacheFactory()
-
-
Method Details
-
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
- Specified by:
newSessionCache
in classAbstractSessionCacheFactory
-