public class SessionManagerEntry extends AbstractExpiringObject
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
indexes
Indexes for this session.
|
private static long |
serialVersionUID
Serial version UID.
|
private Session |
userSession
User's session.
|
| Constructor and Description |
|---|
SessionManagerEntry(Session session,
long lifetime)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
getExpirationTime() |
Session |
getSession()
Gets the user session.
|
String |
getSessionId()
Gets the ID of the user session.
|
List<String> |
getSessionIndexes()
Gets the list of indexes for this session.
|
isExpired, onExpireprivate static final long serialVersionUID
private Session userSession
public SessionManagerEntry(Session session, long lifetime)
session - user sessionlifetime - lifetime of sessionpublic Session getSession()
public String getSessionId()
public List<String> getSessionIndexes()
public org.joda.time.DateTime getExpirationTime()
getExpirationTime in interface ExpiringObjectgetExpirationTime in class AbstractExpiringObjectCopyright © 1999-2014. All Rights Reserved.