Interface ImmutableSessionCreationMetaData

All Known Subinterfaces:
SessionCreationMetaData, SessionCreationMetaDataEntry<C>
All Known Implementing Classes:
DefaultSessionCreationMetaDataEntry, MutableSessionCreationMetaData

public interface ImmutableSessionCreationMetaData
Immutable view of the more static aspects of a session's meta-data.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the time at which this session was created.
    Returns the maximum duration of time this session may remain idle before it will be expired by the session manager, or Duration.ZERO if the session will never expire.
  • Method Details

    • getCreationTime

      Instant getCreationTime()
      Returns the time at which this session was created.
      Returns:
      the time at which this session was created
    • getMaxIdle

      Duration getMaxIdle()
      Returns the maximum duration of time this session may remain idle before it will be expired by the session manager, or Duration.ZERO if the session will never expire.
      Returns:
      the maximum duration of time this session may remain idle before it will be expired by the session manager, or Duration.ZERO if the session will never expire.