Improve GemfireCache.clear() to take GemFire Cache and Region type into consideration [DATAGEODE-265] #313
Labels
Comments
John Blum commented A nice alternative would be for Apache Geode to include support for |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
John Blum opened DATAGEODE-265 and commented
Currently, when a developer uses Spring's Cache Abstraction with Apache Geode as the "caching provider", to enable caching in his/her
@Service
components, if the developer includes a@Service
method to evict all entries, like so...SDG's current implementation of
Cache.clear()
will fail with anUnsupportedOperationException
on aPARTITION
Region. This is becauseMap.clear()
is not supported onPARTITION
Regions.Additionally,
clear()
would not work if the Region is a client Region.This JIRA was created to add more intelligence to SDG's
GemfireCache.clear()
operationReference URL: https://jira.spring.io/browse/SGF-557
The text was updated successfully, but these errors were encountered: