Package org.wildfly.extension.undertow
Class DiskBasedModularPersistentSessionManager
- java.lang.Object
-
- org.wildfly.extension.undertow.AbstractPersistentSessionManager
-
- org.wildfly.extension.undertow.DiskBasedModularPersistentSessionManager
-
- All Implemented Interfaces:
io.undertow.servlet.api.SessionPersistenceManager,org.jboss.msc.Service,org.jboss.msc.service.Service<io.undertow.servlet.api.SessionPersistenceManager>,org.jboss.msc.value.Value<io.undertow.servlet.api.SessionPersistenceManager>
public class DiskBasedModularPersistentSessionManager extends AbstractPersistentSessionManager
Persistent session manager that stores persistent session information to disk- Author:
- Stuart Douglas, Richard Opalka
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.wildfly.extension.undertow.AbstractPersistentSessionManager
AbstractPersistentSessionManager.SessionEntry
-
-
Field Summary
-
Fields inherited from class org.wildfly.extension.undertow.AbstractPersistentSessionManager
SERVICE_NAME
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,AbstractPersistentSessionManager.SessionEntry>loadSerializedSessions(String deploymentName)protected voidpersistSerializedSessions(String deploymentName, Map<String,AbstractPersistentSessionManager.SessionEntry> serializedData)voidstart(org.jboss.msc.service.StartContext startContext)voidstop(org.jboss.msc.service.StopContext stopContext)-
Methods inherited from class org.wildfly.extension.undertow.AbstractPersistentSessionManager
clear, createMarshaller, createUnmarshaller, getValue, loadSessionAttributes, persistSessions
-
-
-
-
Method Detail
-
stop
public void stop(org.jboss.msc.service.StopContext stopContext)
- Specified by:
stopin interfaceorg.jboss.msc.Service- Overrides:
stopin classAbstractPersistentSessionManager
-
start
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Overrides:
startin classAbstractPersistentSessionManager- Throws:
org.jboss.msc.service.StartException
-
persistSerializedSessions
protected void persistSerializedSessions(String deploymentName, Map<String,AbstractPersistentSessionManager.SessionEntry> serializedData) throws IOException
- Specified by:
persistSerializedSessionsin classAbstractPersistentSessionManager- Throws:
IOException
-
loadSerializedSessions
protected Map<String,AbstractPersistentSessionManager.SessionEntry> loadSerializedSessions(String deploymentName) throws IOException
- Specified by:
loadSerializedSessionsin classAbstractPersistentSessionManager- Throws:
IOException
-
-