Interface ImmutableSessionMetaDataEntry
- All Superinterfaces:
org.wildfly.clustering.server.expiration.Expiration
- All Known Subinterfaces:
ContextualSessionMetaDataEntry<C>,SessionMetaDataEntry
- All Known Implementing Classes:
DefaultSessionMetaDataEntry,MutableSessionMetaDataEntry
public interface ImmutableSessionMetaDataEntry
extends org.wildfly.clustering.server.expiration.Expiration
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionReturns the time this entry was created.Returns 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.booleanisNew()Returns true, if this is a newly created entry, false otherwise.Methods inherited from interface org.wildfly.clustering.server.expiration.Expiration
getTimeout, isImmortal
-
Method Details
-
isNew
boolean isNew()Returns true, if this is a newly created entry, false otherwise.- Returns:
- true, if this is a newly created entry, false otherwise.
-
getCreationTime
Instant getCreationTime()Returns the time this entry was created.- Returns:
- the creation time
-
getLastAccessStartTime
Returns the last access start time, as an offset of the creation time.- Returns:
- the last access start time, as an offset of the creation time.
-
getLastAccessEndTime
Returns the last access end time, as an offset of the last access start time.- Returns:
- the last access end time, as an offset of the last access start time.
-