Interface ContextualSessionMetaDataEntry<C>
- Type Parameters:
C- the context type
- All Superinterfaces:
Contextual<C>,Expiration,ImmutableSessionMetaDataEntry,Remappable<ContextualSessionMetaDataEntry<C>,,SessionMetaDataEntryOffsets> SessionMetaDataEntry
- All Known Implementing Classes:
DefaultSessionMetaDataEntry
public interface ContextualSessionMetaDataEntry<C>
extends SessionMetaDataEntry, Contextual<C>, Remappable<ContextualSessionMetaDataEntry<C>,SessionMetaDataEntryOffsets>
A contextual session metadata entry.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstantReturns 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.Methods inherited from interface org.wildfly.clustering.session.cache.Contextual
getContextMethods inherited from interface org.wildfly.clustering.server.expiration.Expiration
getTimeout, isImmortalMethods inherited from interface org.wildfly.clustering.session.cache.metadata.coarse.ImmutableSessionMetaDataEntry
isNewMethods inherited from interface org.wildfly.clustering.cache.function.Remappable
remapMethods inherited from interface org.wildfly.clustering.session.cache.metadata.coarse.SessionMetaDataEntry
setTimeout
-
Method Details
-
getCreationTime
Description copied from interface:ImmutableSessionMetaDataEntryReturns the time this entry was created.- Specified by:
getCreationTimein interfaceImmutableSessionMetaDataEntry- Returns:
- the creation time
-
getLastAccessStartTime
OffsetValue<Instant> getLastAccessStartTime()Description copied from interface:ImmutableSessionMetaDataEntryReturns the last access start time, as an offset of the creation time.- Specified by:
getLastAccessStartTimein interfaceImmutableSessionMetaDataEntry- Specified by:
getLastAccessStartTimein interfaceSessionMetaDataEntry- Returns:
- the last access start time, as an offset of the creation time.
-
getLastAccessEndTime
OffsetValue<Instant> getLastAccessEndTime()Description copied from interface:ImmutableSessionMetaDataEntryReturns the last access end time, as an offset of the last access start time.- Specified by:
getLastAccessEndTimein interfaceImmutableSessionMetaDataEntry- Specified by:
getLastAccessEndTimein interfaceSessionMetaDataEntry- Returns:
- the last access end time, as an offset of the last access start time.
-