Package org.eclipse.jetty.server.session
Class NullSessionCacheFactory
- java.lang.Object
-
- org.eclipse.jetty.server.session.NullSessionCacheFactory
-
- All Implemented Interfaces:
SessionCacheFactory
public class NullSessionCacheFactory extends java.lang.Object implements SessionCacheFactory
NullSessionCacheFactory Factory for NullSessionCaches.
-
-
Constructor Summary
Constructors Constructor Description NullSessionCacheFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionCache
getSessionCache(SessionHandler handler)
boolean
isRemoveUnloadableSessions()
boolean
isSaveOnCreate()
void
setRemoveUnloadableSessions(boolean removeUnloadableSessions)
void
setSaveOnCreate(boolean saveOnCreate)
-
-
-
Method Detail
-
isSaveOnCreate
public boolean isSaveOnCreate()
- Returns:
- the saveOnCreate
-
setSaveOnCreate
public void setSaveOnCreate(boolean saveOnCreate)
- Parameters:
saveOnCreate
- the saveOnCreate to set
-
isRemoveUnloadableSessions
public boolean isRemoveUnloadableSessions()
- Returns:
- the removeUnloadableSessions
-
setRemoveUnloadableSessions
public void setRemoveUnloadableSessions(boolean removeUnloadableSessions)
- Parameters:
removeUnloadableSessions
- the removeUnloadableSessions to set
-
getSessionCache
public SessionCache getSessionCache(SessionHandler handler)
- Specified by:
getSessionCache
in interfaceSessionCacheFactory
- See Also:
SessionCacheFactory.getSessionCache(org.eclipse.jetty.server.session.SessionHandler)
-
-