Interface Expiration

    • Method Detail

      • getTimeout

        Duration getTimeout()
        The duration of time, after which an idle object should expire.
        Returns:
        the object timeout
      • isImmortal

        default boolean isImmortal()
        Indicates whether the associated timeout represents and immortal object, i.e. does not expire
        Returns:
        true, if this object is immortal, false otherwise