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 Constructor Description NullSessionCacheFactory()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getEvictionPolicy()
Deprecated.boolean
isInvalidateOnShutdown()
Deprecated.boolean
isSaveOnInactiveEvict()
Deprecated.SessionCache
newSessionCache(SessionHandler handler)
Deprecated.void
setEvictionPolicy(int evictionPolicy)
Deprecated.void
setInvalidateOnShutdown(boolean invalidateOnShutdown)
Deprecated.void
setSaveOnInactiveEvict(boolean saveOnInactiveEvict)
Deprecated.-
Methods inherited from class org.eclipse.jetty.server.session.AbstractSessionCacheFactory
getSessionCache, isFlushOnResponseCommit, isRemoveUnloadableSessions, isSaveOnCreate, setFlushOnResponseCommit, setRemoveUnloadableSessions, setSaveOnCreate
-
-
-
-
Method Detail
-
getEvictionPolicy
public int getEvictionPolicy()
Deprecated.- Overrides:
getEvictionPolicy
in classAbstractSessionCacheFactory
- Returns:
- the evictionPolicy
-
setEvictionPolicy
public void setEvictionPolicy(int evictionPolicy)
Deprecated.- Overrides:
setEvictionPolicy
in classAbstractSessionCacheFactory
- Parameters:
evictionPolicy
- the evictionPolicy to set
-
isSaveOnInactiveEvict
public boolean isSaveOnInactiveEvict()
Deprecated.- Overrides:
isSaveOnInactiveEvict
in classAbstractSessionCacheFactory
- Returns:
- the saveOnInactiveEvict
-
setSaveOnInactiveEvict
public void setSaveOnInactiveEvict(boolean saveOnInactiveEvict)
Deprecated.- Overrides:
setSaveOnInactiveEvict
in classAbstractSessionCacheFactory
- Parameters:
saveOnInactiveEvict
- the saveOnInactiveEvict to set
-
isInvalidateOnShutdown
public boolean isInvalidateOnShutdown()
Deprecated.- Overrides:
isInvalidateOnShutdown
in classAbstractSessionCacheFactory
-
setInvalidateOnShutdown
public void setInvalidateOnShutdown(boolean invalidateOnShutdown)
Deprecated.- Overrides:
setInvalidateOnShutdown
in classAbstractSessionCacheFactory
-
newSessionCache
public SessionCache newSessionCache(SessionHandler handler)
Deprecated.- Specified by:
newSessionCache
in classAbstractSessionCacheFactory
-
-