Package org.eclipse.jetty.server.session
Class AbstractSessionCacheFactory
java.lang.Object
org.eclipse.jetty.server.session.AbstractSessionCacheFactory
- All Implemented Interfaces:
SessionCacheFactory
- Direct Known Subclasses:
DefaultSessionCacheFactory,NullSessionCacheFactory
@Deprecated(since="2021-05-27")
public abstract class AbstractSessionCacheFactory
extends Object
implements SessionCacheFactory
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
AbstractSessionCacheFactory
Base class for SessionCacheFactories.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.getSessionCache(SessionHandler handler) Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.abstract SessionCachenewSessionCache(SessionHandler handler) Deprecated.voidsetEvictionPolicy(int evictionPolicy) Deprecated.voidsetFlushOnResponseCommit(boolean flushOnResponseCommit) Deprecated.voidsetInvalidateOnShutdown(boolean invalidateOnShutdown) Deprecated.voidsetRemoveUnloadableSessions(boolean removeUnloadableSessions) Deprecated.voidsetSaveOnCreate(boolean saveOnCreate) Deprecated.voidsetSaveOnInactiveEvict(boolean saveOnInactiveEvict) Deprecated.
-
Constructor Details
-
AbstractSessionCacheFactory
public AbstractSessionCacheFactory()Deprecated.
-
-
Method Details
-
newSessionCache
Deprecated. -
isInvalidateOnShutdown
public boolean isInvalidateOnShutdown()Deprecated. -
setInvalidateOnShutdown
public void setInvalidateOnShutdown(boolean invalidateOnShutdown) Deprecated. -
isFlushOnResponseCommit
public boolean isFlushOnResponseCommit()Deprecated.- Returns:
- the flushOnResponseCommit
-
setFlushOnResponseCommit
public void setFlushOnResponseCommit(boolean flushOnResponseCommit) Deprecated.- Parameters:
flushOnResponseCommit- the flushOnResponseCommit to set
-
isSaveOnCreate
public boolean isSaveOnCreate()Deprecated.- Returns:
- the saveOnCreate
-
setSaveOnCreate
public void setSaveOnCreate(boolean saveOnCreate) Deprecated.- Parameters:
saveOnCreate- the saveOnCreate to set
-
isRemoveUnloadableSessions
public boolean isRemoveUnloadableSessions()Deprecated.- Returns:
- the removeUnloadableSessions
-
setRemoveUnloadableSessions
public void setRemoveUnloadableSessions(boolean removeUnloadableSessions) Deprecated.- Parameters:
removeUnloadableSessions- the removeUnloadableSessions to set
-
getEvictionPolicy
public int getEvictionPolicy()Deprecated.- Returns:
- the evictionPolicy
-
setEvictionPolicy
public void setEvictionPolicy(int evictionPolicy) Deprecated.- Parameters:
evictionPolicy- the evictionPolicy to set
-
isSaveOnInactiveEvict
public boolean isSaveOnInactiveEvict()Deprecated.- Returns:
- the saveOnInactiveEvict
-
setSaveOnInactiveEvict
public void setSaveOnInactiveEvict(boolean saveOnInactiveEvict) Deprecated.- Parameters:
saveOnInactiveEvict- the saveOnInactiveEvict to set
-
getSessionCache
Deprecated.- Specified by:
getSessionCachein interfaceSessionCacheFactory
-