Interface ImmutableSessionCreationMetaData
- All Known Subinterfaces:
SessionCreationMetaData,SessionCreationMetaDataEntry<C>
- All Known Implementing Classes:
DefaultSessionCreationMetaDataEntry,MutableSessionCreationMetaData
public interface ImmutableSessionCreationMetaData
Immutable view of the more static aspects of a session's meta-data.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionReturns the time at which this session was created.Returns the maximum duration of time this session may remain idle before it will be expired by the session manager.
-
Method Details
-
getCreationTime
Instant getCreationTime()Returns the time at which this session was created.- Returns:
- the time at which this session was created
-
getTimeout
Duration getTimeout()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.
-