Package org.eclipse.jetty.session
Class NullSessionCacheFactory
java.lang.Object
org.eclipse.jetty.session.AbstractSessionCacheFactory
org.eclipse.jetty.session.NullSessionCacheFactory
- All Implemented Interfaces:
SessionCacheFactory
NullSessionCacheFactory
Factory for NullSessionCaches.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the evictionPolicy.boolean
boolean
newSessionCache
(SessionManager manager) void
setEvictionPolicy
(int evictionPolicy) Set the evictionPolicy to set.void
setInvalidateOnShutdown
(boolean invalidateOnShutdown) void
setSaveOnInactiveEviction
(boolean saveOnInactiveEvict) Set the saveOnInactiveEvict to set.Methods inherited from class org.eclipse.jetty.session.AbstractSessionCacheFactory
getSessionCache, isFlushOnResponseCommit, isRemoveUnloadableSessions, isSaveOnCreate, setFlushOnResponseCommit, setRemoveUnloadableSessions, setSaveOnCreate
-
Constructor Details
-
NullSessionCacheFactory
public NullSessionCacheFactory()
-
-
Method Details
-
getEvictionPolicy
public int getEvictionPolicy()Description copied from class:AbstractSessionCacheFactory
Get the evictionPolicy.- Overrides:
getEvictionPolicy
in classAbstractSessionCacheFactory
- Returns:
- the evictionPolicy
-
setEvictionPolicy
public void setEvictionPolicy(int evictionPolicy) Description copied from class:AbstractSessionCacheFactory
Set the evictionPolicy to set.- Overrides:
setEvictionPolicy
in classAbstractSessionCacheFactory
- Parameters:
evictionPolicy
- the evictionPolicy to set
-
isSaveOnInactiveEviction
public boolean isSaveOnInactiveEviction()- Overrides:
isSaveOnInactiveEviction
in classAbstractSessionCacheFactory
- Returns:
- the saveOnInactiveEvict
-
setSaveOnInactiveEviction
public void setSaveOnInactiveEviction(boolean saveOnInactiveEvict) Description copied from class:AbstractSessionCacheFactory
Set the saveOnInactiveEvict to set.- Overrides:
setSaveOnInactiveEviction
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
-