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 TypeMethodDescriptionint
Deprecated.getSessionCache
(SessionHandler handler) Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.abstract SessionCache
newSessionCache
(SessionHandler handler) Deprecated.void
setEvictionPolicy
(int evictionPolicy) Deprecated.void
setFlushOnResponseCommit
(boolean flushOnResponseCommit) Deprecated.void
setInvalidateOnShutdown
(boolean invalidateOnShutdown) Deprecated.void
setRemoveUnloadableSessions
(boolean removeUnloadableSessions) Deprecated.void
setSaveOnCreate
(boolean saveOnCreate) Deprecated.void
setSaveOnInactiveEvict
(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:
getSessionCache
in interfaceSessionCacheFactory
-