| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public Set | Returns: set of session idsif provided, these are keys of sessions that
the SessionDataStore thinks has expired and should be verified by the
SessionDataStore candidates)Called periodically, this method should search the data store for sessions that have been expired for a 'reasonable' amount of time. |
| public boolean | Returns: true if this store can passivate sessions, false otherwiseTrue if this type of datastore will passivate session objects |
| public SessionData | Returns: a new SessionData objectthe id id, long the timestamp when created created, long the timestamp when accessed accessed, long the timestamp when last accessed lastAccessed, long the max inactive time in milliseconds maxInactiveMs)Create a new SessionData |
| exists | back to summary |
|---|---|
| public boolean exists(String id) throws Exception Test if data exists for a given session id. | |
| getExpired | back to summary |
|---|---|
| public Set Called periodically, this method should search the data store for sessions that have been expired for a 'reasonable' amount of time. | |
| isPassivating | back to summary |
|---|---|
| public boolean isPassivating() True if this type of datastore will passivate session objects
| |
| newSessionData | back to summary |
|---|---|
| public SessionData newSessionData(String id, long created, long accessed, long lastAccessed, long maxInactiveMs) Create a new SessionData
| |