Interface Expiration

All Known Subinterfaces:
ExpirationConfiguration<T>, ExpirationMetaData

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