Interface SessionMetaDataEntry
- All Superinterfaces:
Expiration,ImmutableSessionMetaDataEntry
- All Known Subinterfaces:
ContextualSessionMetaDataEntry<C>
- All Known Implementing Classes:
DefaultSessionMetaDataEntry,MutableSessionMetaDataEntry
Encapsulates the immutable cache entry properties storing session metadata.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionReturns the last access end time, as an offset of the last access start time.Returns the last access start time, as an offset of the creation time.voidsetTimeout(Duration timeout) Sets the session timeout.Methods inherited from interface org.wildfly.clustering.server.expiration.Expiration
getTimeout, isImmortalMethods inherited from interface org.wildfly.clustering.session.cache.metadata.coarse.ImmutableSessionMetaDataEntry
getCreationTime, isNew
-
Method Details
-
getLastAccessStartTime
Description copied from interface:ImmutableSessionMetaDataEntryReturns the last access start time, as an offset of the creation time.- Specified by:
getLastAccessStartTimein interfaceImmutableSessionMetaDataEntry- Returns:
- the last access start time, as an offset of the creation time.
-
getLastAccessEndTime
Description copied from interface:ImmutableSessionMetaDataEntryReturns the last access end time, as an offset of the last access start time.- Specified by:
getLastAccessEndTimein interfaceImmutableSessionMetaDataEntry- Returns:
- the last access end time, as an offset of the last access start time.
-
setTimeout
Sets the session timeout.- Parameters:
timeout- the session timeout
-