public interface SessionMetaData extends ImmutableSessionMetaData
Modifier and Type | Method and Description |
---|---|
void |
setLastAccessedTime(Instant instant)
Sets the instant in time that this session was last accessed.
|
void |
setMaxInactiveInterval(Duration duration)
Set the time interval as a duration, after which this session will expire.
|
getCreationTime, getLastAccessedTime, getMaxInactiveInterval, isExpired, isNew
void setLastAccessedTime(Instant instant)
the
- instant this session was last accessedvoid setMaxInactiveInterval(Duration duration)
duration
- a time durationCopyright © 2018 JBoss by Red Hat. All rights reserved.