Spring Data for VMware GemFire
Class GemfireCachingConfiguration
java.lang.Object
org.springframework.data.gemfire.cache.config.GemfireCachingConfiguration
The
GemfireCachingConfiguration class is a Spring @Configuration class
used to configure Pivotal GemFire or Apache Geode as the caching provider in Spring's Cache Abstraction.
This @Configuration class is specifically responsible for declaring and registering
Spring Data GemFire/Geode's GemfireCacheManager implementation to properly enable either Pivotal GemFire
or Apache Geode as the caching provider used with Springs Cache Abstraction.
Additionally, this Spring @Configuration class also enables the Spring Cache Abstraction
by declaring Spring's EnableCaching annotation for the user extending or importing this class using
the SDG provided EnableGemfireCaching annotation.- Since:
- 2.0.0
- See Also:
-
GemFireCacheEnableCachingBeanConfigurationGemfireCacheManagerEnableGemfireCaching- Cache Abstraction
- GemFire-based Cache
- Support for Spring Cache Abstraction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncacheManager(org.apache.geode.cache.GemFireCache gemfireCache) SDG'sGemfireCacheManagerused to position Pivotal GemFire or Apache Geode as the caching provider in Spring's Cache Abstraction.
-
Constructor Details
-
GemfireCachingConfiguration
public GemfireCachingConfiguration()
-
-
Method Details
-
cacheManager
SDG'sGemfireCacheManagerused to position Pivotal GemFire or Apache Geode as the caching provider in Spring's Cache Abstraction.- Returns:
- an instance of
GemfireCacheManager. - See Also:
-
GemfireCacheManagerGemFireCache
-