spring-session-data-geode
spring-session-data-geode copied to clipboard
Consider support for `copyOnRead` semantics provided by SSDG along with ability to make deep copies.
Currently, the ability to make defensive, copies on read (i.e. Region.get(sessionId):Session) is delegated to either Apache Geode or Pivotal GemFire. However, where this is possibly not desirable or even not possible (e.g. PCF when using PCC), then allow SSDG to do the work.
Currently, the way to do this with either Apache Geode, or Pivotal GemFire, is... given a reference to the GemFireCache, a user would set GemFireCache.setCopyOnRead(:boolean) to true.
This is also easily accomplished using SDG, as so:
@ClientCacheApplication(copyOnRead = true, ...)
@EnableGemFireHttpSession(..)
class MyGemFireConfiguration { ... }