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 TypeMethodDescriptionintDeprecated.booleanDeprecated.booleanDeprecated.newSessionCache(SessionHandler handler) Deprecated.voidsetEvictionPolicy(int evictionPolicy) Deprecated.voidsetInvalidateOnShutdown(boolean invalidateOnShutdown) Deprecated.voidsetSaveOnInactiveEvict(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:
getEvictionPolicyin classAbstractSessionCacheFactory- Returns:
- the evictionPolicy
-
setEvictionPolicy
public void setEvictionPolicy(int evictionPolicy) Deprecated.- Overrides:
setEvictionPolicyin classAbstractSessionCacheFactory- Parameters:
evictionPolicy- the evictionPolicy to set
-
isSaveOnInactiveEvict
public boolean isSaveOnInactiveEvict()Deprecated.- Overrides:
isSaveOnInactiveEvictin classAbstractSessionCacheFactory- Returns:
- the saveOnInactiveEvict
-
setSaveOnInactiveEvict
public void setSaveOnInactiveEvict(boolean saveOnInactiveEvict) Deprecated.- Overrides:
setSaveOnInactiveEvictin classAbstractSessionCacheFactory- Parameters:
saveOnInactiveEvict- the saveOnInactiveEvict to set
-
isInvalidateOnShutdown
public boolean isInvalidateOnShutdown()Deprecated.- Overrides:
isInvalidateOnShutdownin classAbstractSessionCacheFactory
-
setInvalidateOnShutdown
public void setInvalidateOnShutdown(boolean invalidateOnShutdown) Deprecated.- Overrides:
setInvalidateOnShutdownin classAbstractSessionCacheFactory
-
newSessionCache
Deprecated.- Specified by:
newSessionCachein classAbstractSessionCacheFactory
-