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 intgetEvictionPolicy()Deprecated.booleanisInvalidateOnShutdown()Deprecated.booleanisSaveOnInactiveEvict()Deprecated.SessionCachenewSessionCache(SessionHandler handler)Deprecated.voidsetEvictionPolicy(int evictionPolicy)Deprecated.voidsetInvalidateOnShutdown(boolean invalidateOnShutdown)Deprecated.voidsetSaveOnInactiveEvict(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:
 getEvictionPolicyin classAbstractSessionCacheFactory- Returns:
 - the evictionPolicy
 
 
- 
setEvictionPolicy
public void setEvictionPolicy(int evictionPolicy)
Deprecated.- Overrides:
 setEvictionPolicyin classAbstractSessionCacheFactory- Parameters:
 evictionPolicy- the evictionPolicy to set
 
- 
isSaveOnInactiveEvict
public boolean isSaveOnInactiveEvict()
Deprecated.- Overrides:
 isSaveOnInactiveEvictin classAbstractSessionCacheFactory- Returns:
 - the saveOnInactiveEvict
 
 
- 
setSaveOnInactiveEvict
public void setSaveOnInactiveEvict(boolean saveOnInactiveEvict)
Deprecated.- Overrides:
 setSaveOnInactiveEvictin classAbstractSessionCacheFactory- Parameters:
 saveOnInactiveEvict- the saveOnInactiveEvict to set
 
- 
isInvalidateOnShutdown
public boolean isInvalidateOnShutdown()
Deprecated.- Overrides:
 isInvalidateOnShutdownin classAbstractSessionCacheFactory
 
- 
setInvalidateOnShutdown
public void setInvalidateOnShutdown(boolean invalidateOnShutdown)
Deprecated.- Overrides:
 setInvalidateOnShutdownin classAbstractSessionCacheFactory
 
- 
newSessionCache
public SessionCache newSessionCache(SessionHandler handler)
Deprecated.- Specified by:
 newSessionCachein classAbstractSessionCacheFactory
 
 - 
 
 -