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 java.lang.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 Constructor Description AbstractSessionCacheFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getEvictionPolicy()
Deprecated.SessionCache
getSessionCache(SessionHandler handler)
Deprecated.boolean
isFlushOnResponseCommit()
Deprecated.boolean
isInvalidateOnShutdown()
Deprecated.boolean
isRemoveUnloadableSessions()
Deprecated.boolean
isSaveOnCreate()
Deprecated.boolean
isSaveOnInactiveEvict()
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.
-
-
-
Method Detail
-
newSessionCache
public abstract SessionCache newSessionCache(SessionHandler handler)
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
public SessionCache getSessionCache(SessionHandler handler)
Deprecated.- Specified by:
getSessionCache
in interfaceSessionCacheFactory
-
-