public interface SessionMetaData extends ImmutableSessionMetaData
| Modifier and Type | Method and Description |
|---|---|
void |
setLastAccessedTime(Date date)
Set the time this session was last accessed.
|
void |
setMaxInactiveInterval(long interval,
TimeUnit unit)
Set the time interval, using the specified unit, after which this session will expire.
|
getCreationTime, getLastAccessedTime, getMaxInactiveInterval, isExpired, isNewvoid setLastAccessedTime(Date date)
the - time this session was last accessedvoid setMaxInactiveInterval(long interval,
TimeUnit unit)
interval - a time intervalunit - a time unitCopyright © 2015 JBoss by Red Hat. All rights reserved.