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 Summary

    Modifier and Type
    Method
    Description
    org.wildfly.clustering.server.offset.Value<Instant>
    Returns the last access end time, as an offset of the last access start time.
    org.wildfly.clustering.server.offset.Value<Instant>
    Returns the last access start time, as an offset of the creation time.
    void
    Specifies the duration of time since last access after which this session will expire.

    Methods inherited from interface org.wildfly.clustering.session.cache.metadata.coarse.ImmutableSessionMetaDataEntry

    getCreationTime, getMaxIdle, isNew
  • Method Details

    • getLastAccessStartTime

      org.wildfly.clustering.server.offset.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

      org.wildfly.clustering.server.offset.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.