Interface ImmutableSessionMetaDataEntry

All Superinterfaces:
Expiration
All Known Subinterfaces:
ContextualSessionMetaDataEntry<C>, SessionMetaDataEntry
All Known Implementing Classes:
DefaultSessionMetaDataEntry, MutableSessionMetaDataEntry

public interface ImmutableSessionMetaDataEntry extends Expiration
Author:
Paul Ferraro
  • 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.