public interface SpincastSessionRepository
| Modifier and Type | Method and Description |
|---|---|
void |
deleteOldInactiveSession(int sessionMaxInactiveMinutes)
Deletes the deletes that were inactive for too long.
|
void |
deleteSession(String sessionId)
Deletes a saved session.
|
SpincastSession |
getSession(String sessionId)
Gets a session from the database/data source.
|
void |
saveSession(SpincastSession session)
Save a session.
|
void saveSession(SpincastSession session)
SpincastSession getSession(String sessionId)
null if not found.void deleteSession(String sessionId)
void deleteOldInactiveSession(int sessionMaxInactiveMinutes)
Copyright © 2019. All rights reserved.