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.org.wildfly.clustering.server.offset.OffsetValue<Instant> Returns the last access end time value.org.wildfly.clustering.server.offset.OffsetValue<Instant> Returns the last access start time value.org.wildfly.clustering.server.offset.OffsetValue<Duration> Returns the session timeout 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
-
getTimeout
org.wildfly.clustering.server.offset.OffsetValue<Duration> getTimeout()Description copied from interface:MutableSessionMetaDataValuesReturns the session timeout value.- Specified by:
getTimeoutin interfaceMutableSessionMetaDataValues- Returns:
- the session timeout value.
-
getLastAccessStartTime
org.wildfly.clustering.server.offset.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
org.wildfly.clustering.server.offset.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.
-