John Blum 9eef2d099c Change the specification and interface contract of SessionExpirationPolicy.determineExpirationTimeout(:Session):Duration to prevent null return values and return an Optional of Duration instead.
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.
2018-10-23 19:58:23 -07:00
2018-08-22 11:08:56 -07:00
2018-08-28 17:45:02 -07:00
2018-08-22 07:30:11 -07:00
2018-08-31 08:48:51 -07:00

image:https://badges.gitter.im/spring-projects/spring-session.svg[link="https://gitter.im/spring-projects/spring-session?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]

image:https://travis-ci.org/spring-projects/spring-session.svg?branch=master["Build Status", link="https://travis-ci.org/spring-projects/spring-session-data-geode"]

= Spring Session for Apache Geode & Pivotal GemFire

_Spring Session_ aims to provide a common infrastructure for managing Sessions.

_Spring Session for Apache Geode_ positions either https://pivotal.io/pivotal-gemfire[Pivotal GemFire]
or http://geode.apache.org/[Apache Geode] as a Session Repository provider.

This provides many benefits including:

* Accessing a Session from any environment (i.e. web, messaging infrastructure, etc)
* In a web environment
** Support for clustering in a vendor/technology neutral way
** Pluggable strategy for determining the Session ID
** Easily keep the HttpSession alive when a WebSocket is active

== Code of Conduct

This project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct].
By participating, you  are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.

== Documentation

The documentation for current Spring Session for Apache Geode and Pivotal GemFire can be found
https://docs.spring.io/autorepo/docs/spring-session-data-geode-build/2.0.5.RELEASE/reference/html5/[here],
and the API https://docs.spring.io/autorepo/docs/spring-session-data-geode-build/2.0.5.RELEASE/api/org/springframework/session/data/gemfire/config/annotation/web/http/EnableGemFireHttpSession.html[here].

= Spring Session Project Site

You can find the documentation, issue management, support, samples, and guides for using _Spring Session_
at http://projects.spring.io/spring-session/

= License

_Spring Session_ is Open Source Software released under the http://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].
Description
No description provided
Readme 3.9 MiB
Languages
Java 99.4%
Groovy 0.6%