@Configuration @EnableCaching public class GemfireCachingConfiguration extends Object
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.GemFireCache
,
EnableCaching
,
Bean
,
Configuration
,
GemfireCacheManager
,
EnableGemfireCaching
,
Cache Abstraction,
GemFire-based Cache,
Support for Spring Cache AbstractionConstructor and Description |
---|
GemfireCachingConfiguration() |
Modifier and Type | Method and Description |
---|---|
GemfireCacheManager |
cacheManager(org.apache.geode.cache.GemFireCache gemfireCache)
SDG's
GemfireCacheManager used to position Pivotal GemFire or Apache Geode as the caching provider
in Spring's Cache Abstraction. |
@Bean public GemfireCacheManager cacheManager(org.apache.geode.cache.GemFireCache gemfireCache)
GemfireCacheManager
used to position Pivotal GemFire or Apache Geode as the caching provider
in Spring's Cache Abstraction.GemfireCacheManager
.GemfireCacheManager
,
GemFireCache
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.