Interface SessionMetaDataEntry

All Superinterfaces:
ImmutableSessionMetaDataEntry
All Known Subinterfaces:
ContextualSessionMetaDataEntry<C>
All Known Implementing Classes:
AbstractSessionMetaDataEntry, DefaultSessionMetaDataEntry, MutableSessionMetaDataEntry

public interface SessionMetaDataEntry extends ImmutableSessionMetaDataEntry
Encapsulates the immutable cache entry properties storing session metadata.
Author:
Paul Ferraro
  • Method Details

    • getLastAccessStartTime

      Value<Instant> getLastAccessStartTime()
      Description copied from interface: ImmutableSessionMetaDataEntry
      Returns the last access start time, as an offset of the creation time.
      Specified by:
      getLastAccessStartTime in interface ImmutableSessionMetaDataEntry
      Returns:
      the last access start time, as an offset of the creation time.
    • getLastAccessEndTime

      Value<Instant> getLastAccessEndTime()
      Description copied from interface: ImmutableSessionMetaDataEntry
      Returns the last access end time, as an offset of the last access start time.
      Specified by:
      getLastAccessEndTime in interface ImmutableSessionMetaDataEntry
      Returns:
      the last access end time, as an offset of the last access start time.
    • setMaxIdle

      void setMaxIdle(Duration maxIdle)
      Specifies the duration of time since last access after which this session will expire.
      Parameters:
      maxIdle - the duration of time since last access after which this session will expire.