spring-session-data-geode icon indicating copy to clipboard operation
spring-session-data-geode copied to clipboard

Consider support for `copyOnRead` semantics provided by SSDG along with ability to make deep copies.

Open jxblum opened this issue 7 years ago • 1 comments

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.

jxblum avatar Dec 17 '18 21:12 jxblum

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 { ... }

jxblum avatar Dec 17 '18 21:12 jxblum