Interface MutableSessionMetaDataOffsetValues
- All Superinterfaces:
MutableSessionMetaDataValues
Encapsulates the mutable session metadata entry properties, captured as offsets from their current values.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionstatic <C> MutableSessionMetaDataOffsetValuesfrom(ContextualSessionMetaDataEntry<C> entry) Creates a mutable session metadata entry delta from the specified metadata entry.Returns the last access end time value.Returns the last access start time value.Returns the max idle duration value
-
Method Details
-
from
Creates a mutable session metadata entry delta from the specified metadata entry.- Type Parameters:
C- the session context type- Parameters:
entry- a session metadata entry- Returns:
- an object encapsulating the mutable session meta data properties
-
getMaxIdle
OffsetValue<Duration> getMaxIdle()Description copied from interface:MutableSessionMetaDataValuesReturns the max idle duration value- Specified by:
getMaxIdlein interfaceMutableSessionMetaDataValues- Returns:
- the max idle duration value.
-
getLastAccessStartTime
OffsetValue<Instant> getLastAccessStartTime()Description copied from interface:MutableSessionMetaDataValuesReturns the last access start time value.- Specified by:
getLastAccessStartTimein interfaceMutableSessionMetaDataValues- Returns:
- the last access start time value.
-
getLastAccessEndTime
OffsetValue<Instant> getLastAccessEndTime()Description copied from interface:MutableSessionMetaDataValuesReturns the last access end time value.- Specified by:
getLastAccessEndTimein interfaceMutableSessionMetaDataValues- Returns:
- the last access end time value.
-