Interface Expiration

All Known Subinterfaces:
AbstractSessionManager.Configuration<CC,MV,AV,SC>, ExpirationConfiguration<T>, ExpirationMetaData, ImmutableSessionMetaData, InvalidatableSessionMetaData, SessionManagerConfiguration<C>, SessionMetaData
All Known Implementing Classes:
AbstractImmutableSessionMetaData, CompositeImmutableSessionMetaData, CompositeSessionMetaData, DecoratedSessionManagerConfiguration, DefaultImmutableSessionMetaData, DefaultSessionMetaData, DetachedSessionMetaData, SimpleExpirationMetaData, SimpleImmutableSessionMetaData

public interface Expiration
Describes the expiration criteria for managed state.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    When present, defines the maximum duration of time since last access, after which managed state will expire.
  • Method Details

    • getMaxIdle

      Optional<Duration> getMaxIdle()
      When present, defines the maximum duration of time since last access, after which managed state will expire.
      Returns:
      the optional duration of time since last access after which managed state will expire