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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InstantgetCreationTime()Returns the time this entry was created.OffsetValue<Instant>getLastAccessEndTime()Returns the last access end time, as an offset of the last access start time.OffsetValue<Instant>getLastAccessStartTime()Returns the last access start time, as an offset of the creation time.-
Methods inherited from interface org.wildfly.clustering.web.cache.Contextual
getContext
-
Methods inherited from interface org.wildfly.clustering.ee.expiration.Expiration
getTimeout, isImmortal
-
Methods inherited from interface org.wildfly.clustering.web.cache.session.metadata.coarse.ImmutableSessionMetaDataEntry
isNew
-
Methods inherited from interface org.wildfly.clustering.ee.cache.function.Remappable
remap
-
Methods inherited from interface org.wildfly.clustering.web.cache.session.metadata.coarse.SessionMetaDataEntry
setTimeout
-
-
-
-
Method Detail
-
getCreationTime
default Instant 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.
-
-