Interface ImmutableSessionMetaDataEntry

All Superinterfaces:
org.wildfly.clustering.server.expiration.Expiration
All Known Subinterfaces:
ContextualSessionMetaDataEntry<C>, SessionMetaDataEntry
All Known Implementing Classes:
DefaultSessionMetaDataEntry, MutableSessionMetaDataEntry

public interface ImmutableSessionMetaDataEntry extends org.wildfly.clustering.server.expiration.Expiration
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the time this entry was created.
    Returns the last access end time, as an offset of the last access start time.
    Returns the last access start time, as an offset of the creation time.
    boolean
    Returns true, if this is a newly created entry, false otherwise.

    Methods inherited from interface org.wildfly.clustering.server.expiration.Expiration

    getTimeout, isImmortal
  • Method Details

    • isNew

      boolean isNew()
      Returns true, if this is a newly created entry, false otherwise.
      Returns:
      true, if this is a newly created entry, false otherwise.
    • getCreationTime

      Instant getCreationTime()
      Returns the time this entry was created.
      Returns:
      the creation time
    • getLastAccessStartTime

      Supplier<Instant> getLastAccessStartTime()
      Returns the last access start time, as an offset of the creation time.
      Returns:
      the last access start time, as an offset of the creation time.
    • getLastAccessEndTime

      Supplier<Instant> getLastAccessEndTime()
      Returns the last access end time, as an offset of the last access start time.
      Returns:
      the last access end time, as an offset of the last access start time.