Interface ContextualSessionMetaDataEntry<C>
- Type Parameters:
C- the context type
- All Superinterfaces:
Contextual<C>,org.wildfly.clustering.server.expiration.Expiration,ImmutableSessionMetaDataEntry,org.wildfly.clustering.cache.function.Remappable<ContextualSessionMetaDataEntry<C>,,SessionMetaDataEntryOffsets> SessionMetaDataEntry
- All Known Implementing Classes:
DefaultSessionMetaDataEntry
public interface ContextualSessionMetaDataEntry<C>
extends SessionMetaDataEntry, Contextual<C>, org.wildfly.clustering.cache.function.Remappable<ContextualSessionMetaDataEntry<C>,SessionMetaDataEntryOffsets>
A contextual session metadata entry.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstantReturns the time this entry was created.org.wildfly.clustering.server.offset.OffsetValue<Instant>Returns the last access end time, as an offset of the last access start time.org.wildfly.clustering.server.offset.OffsetValue<Instant>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
org.wildfly.clustering.server.offset.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
org.wildfly.clustering.server.offset.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.
-