Interface ImmutableSessionCreationMetaData
-
- All Known Subinterfaces:
SessionCreationMetaData
- All Known Implementing Classes:
MutableSessionCreationMetaData,SimpleSessionCreationMetaData
public interface ImmutableSessionCreationMetaDataImmutable view of the more static aspects of a session's meta-data.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstantgetCreationTime()Returns the time at which this session was created.DurationgetMaxInactiveInterval()Returns the maximum duration of time this session may remain idle before it will be expired by the session manager.
-
-
-
Method Detail
-
getCreationTime
Instant getCreationTime()
Returns the time at which this session was created.- Returns:
- the time at which this session was created
-
getMaxInactiveInterval
Duration getMaxInactiveInterval()
Returns the maximum duration of time this session may remain idle before it will be expired by the session manager.- Returns:
- the maximum duration of time this session may remain idle before it will be expired by the session manager.
-
-