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 intgetEvictionPolicy()Deprecated.SessionCachegetSessionCache(SessionHandler handler)Deprecated.booleanisFlushOnResponseCommit()Deprecated.booleanisInvalidateOnShutdown()Deprecated.booleanisRemoveUnloadableSessions()Deprecated.booleanisSaveOnCreate()Deprecated.booleanisSaveOnInactiveEvict()Deprecated.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.
-
-
-
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:
getSessionCachein interfaceSessionCacheFactory
-
-