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
@Deprecated(since="2021-05-27")
public class NullSessionCacheFactory
extends AbstractSessionCacheFactory
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
NullSessionCacheFactory
Factory for NullSessionCaches.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Deprecated.boolean
Deprecated.boolean
Deprecated.newSessionCache
(SessionHandler handler) Deprecated.void
setEvictionPolicy
(int evictionPolicy) Deprecated.void
setInvalidateOnShutdown
(boolean invalidateOnShutdown) Deprecated.void
setSaveOnInactiveEvict
(boolean saveOnInactiveEvict) Deprecated.Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionCacheFactory
getSessionCache, isFlushOnResponseCommit, isRemoveUnloadableSessions, isSaveOnCreate, setFlushOnResponseCommit, setRemoveUnloadableSessions, setSaveOnCreate
-
Constructor Details
-
NullSessionCacheFactory
public NullSessionCacheFactory()Deprecated.
-
-
Method Details
-
getEvictionPolicy
public int getEvictionPolicy()Deprecated.- Overrides:
getEvictionPolicy
in classAbstractSessionCacheFactory
- Returns:
- the evictionPolicy
-
setEvictionPolicy
public void setEvictionPolicy(int evictionPolicy) Deprecated.- Overrides:
setEvictionPolicy
in classAbstractSessionCacheFactory
- Parameters:
evictionPolicy
- the evictionPolicy to set
-
isSaveOnInactiveEvict
public boolean isSaveOnInactiveEvict()Deprecated.- Overrides:
isSaveOnInactiveEvict
in classAbstractSessionCacheFactory
- Returns:
- the saveOnInactiveEvict
-
setSaveOnInactiveEvict
public void setSaveOnInactiveEvict(boolean saveOnInactiveEvict) Deprecated.- Overrides:
setSaveOnInactiveEvict
in classAbstractSessionCacheFactory
- Parameters:
saveOnInactiveEvict
- the saveOnInactiveEvict to set
-
isInvalidateOnShutdown
public boolean isInvalidateOnShutdown()Deprecated.- Overrides:
isInvalidateOnShutdown
in classAbstractSessionCacheFactory
-
setInvalidateOnShutdown
public void setInvalidateOnShutdown(boolean invalidateOnShutdown) Deprecated.- Overrides:
setInvalidateOnShutdown
in classAbstractSessionCacheFactory
-
newSessionCache
Deprecated.- Specified by:
newSessionCache
in classAbstractSessionCacheFactory
-