Determine expiration timeout in terms of both fixed timeout and idle timeout. If the remaining idle timeout is less than the remaining fixed timeout then return Optional.empty().
Edit Javadoc.
Resolves gh-5.
Allow construction with a null Idle Timeout, which may signify disabling expiration timeouts.
Implement the SessionExpirationTimeoutAware interface.
Return Optional<Duration> from determineExpirationTimeout(:Session).
Edit Javadoc.
Resolve gh-5.
An Optional<Duration> return value, particularly when Optional#EMPTY, may suggest that the Session should not expire or that the expiration determination should be delegated to the next expiration policy in the chain of policies when composing expiration policies using the Composite Software Design Pattern.
Alternately, an Optional#EMPTY return value can suggest to the underlying Spring Session data store provider (e.g. Apache Geode or Pivotal GemFire) to use the configured, default Idle Timeout (TTI) Expiration policy for the Region managing Session state.
Resolve gh-5.
A null return value will signal GemFire/Geode to use the default Region Entry Idle Timeout (TTI) Expiration Policy configured for the Sessions Region.
Resolves gh-5.
Upgrade to Spring Boot 2.1.0.M4.
Upgrade to Spring Data for Apache Geode 2.1.1.RELEASE.
Upgrade to Spring Data for Pivotal GemFire 2.1.1.RELEASE.
Upgrade to Spring Data Release Train Lovelace-SR1.
Upgrade to Spring Session BOM Bean-RC1.
Rename sample.ServerConfig class to sample.server.GemFireServer and apply the GemFireServer Gradle Plugin.
Change all 'spring.session.data.gemfire.*' and 'spring.session.data.geode.*' properties to use the SDG property prefixed with 'spring.data.gemfire.*'.
Change all Spring Session (Data Geode) System properties to SDG properties (i.e. 'spring.data.gemfire.*').
Remove any 'spring.session.data.gemfire.*' and 'spring.session.data.geode.*' property configuration.
Remove commented code.
Set Pivotal GemFire version to 9.5.1.
Upgrade to Spring Framework 5.1.0.RC2.
Upgrade to Spring Data for Apache Geode 2.1.0.RC2.
Upgrade to Spring Data for Pivotal GemFire 2.1.0.RC2.
Upgrade to Spring Data Release Train Lovelace-RC2.
Upgrade to Spring Session BOM Bean-M2; Spring Session 2.1.0.M2.