Uses of Interface
org.springframework.data.gemfire.CacheResolver
Package
Description
Support package for Spring Gemfire integration.
-
Uses of CacheResolver in org.springframework.data.gemfire.client.support
Modifier and TypeClassDescriptionclass
Modifier and TypeMethodDescriptionprotected CacheResolver<ClientCache>
ClientCacheDefaultPoolResolver.getClientCacheResolver()
Returns a reference to the configuredCacheResolver
used to (lazily) resolve theClientCache
instance.ModifierConstructorDescriptionClientCacheDefaultPoolResolver
(CacheResolver<ClientCache> clientCacheResolver) Constructs a new instance ofClientCacheDefaultPoolResolver
initialized with aCacheResolver
used to lazily resolve theClientCache
instance onPool
resolution. -
Uses of CacheResolver in org.springframework.data.gemfire.support
Modifier and TypeClassDescriptionclass
AbstractCachingCacheResolver<T extends GemFireCache>
Thread-safe, abstractCacheResolver
implementation to "cache" the instance reference to the (single)GemFireCache
so that theGemFireCache
object is only ever resolved once.class
CacheableCacheResolver
implementation capable of resolving aGemFireCache
instance from the SpringBeanFactory
.class
class
ComposableCacheResolver<T extends GemFireCache>
Composition ofCacheResolvers
using the Composite Software Design Pattern that acts, and can be referred to, as a single instance ofCacheResolver
.Modifier and TypeMethodDescriptionstatic <T extends GemFireCache>
CacheResolver<T>ComposableCacheResolver.compose
(Iterable<CacheResolver<T>> cacheResolvers) Factory method used to compose anIterable
collection ofCacheResolvers
in a composition.static <T extends GemFireCache>
CacheResolver<T>ComposableCacheResolver.compose
(CacheResolver<T>... cacheResolvers) Factory method used to compose an array ofCacheResolvers
in a composition.static <T extends GemFireCache>
CacheResolver<T>ComposableCacheResolver.compose
(CacheResolver<T> one, CacheResolver<T> two) Null-safe factory method used to compose twoCacheResolver
objects in a composition.static CacheResolver<Cache>
Factory method used to resolve a single, configured instance of a peerCache
.static CacheResolver<ClientCache>
SingleCacheCacheResolver.from
(ClientCache clientCache) Factory method used to resolve a single, configured instance of a peerClientCache
.protected CacheResolver<T>
ComposableCacheResolver.getCacheResolverOne()
Returns a reference to the first, non-null, configuredCacheResolver
in the composition.protected CacheResolver<T>
ComposableCacheResolver.getCacheResolverTwo()
Returns a reference to the second, non-null, configuredCacheResolver
in the composition.SmartCacheResolverFactoryBean.getObject()
Returns the fully constructed and initialized instance of theCacheResolver
created by thisFactoryBean
.protected CacheResolver
SmartCacheResolverFactoryBean.newBeanFactoryCacheResolver()
Constructs aCacheResolver
capable of resolving a cache instance from the SpringBeanFactory
.protected CacheResolver
SmartCacheResolverFactoryBean.newClientCacheFactoryCacheResolver()
Constructs aCacheResolver
capable of resolving aClientCache
instance using the Apache GeodeClientCacheFactory
API.protected CacheResolver
SmartCacheResolverFactoryBean.newPeerCacheFactoryCacheResolver()
Constructs aCacheResolver
capable of resolving a peerCache
instance using the Apache GeodeCacheFactory
API.protected CacheResolver
SmartCacheResolverFactoryBean.newSingleCacheCacheResolver()
Constructs aCacheResolver
capable of resolving a single, configured cache instance.Modifier and TypeMethodDescriptionprotected List<CacheResolver>
SmartCacheResolverFactoryBean.getConfiguredCacheResolvers()
Modifier and TypeMethodDescriptionstatic <T extends GemFireCache>
CacheResolver<T>ComposableCacheResolver.compose
(CacheResolver<T>... cacheResolvers) Factory method used to compose an array ofCacheResolvers
in a composition.static <T extends GemFireCache>
CacheResolver<T>ComposableCacheResolver.compose
(CacheResolver<T> one, CacheResolver<T> two) Null-safe factory method used to compose twoCacheResolver
objects in a composition.static <S extends GemFireCache>
RegionServiceRegionResolver<S>RegionServiceRegionResolver.from
(CacheResolver<S> cacheResolver) Factory method used to construct aRegionServiceRegionResolver
from aCacheResolver
.Modifier and TypeMethodDescriptionstatic <T extends GemFireCache>
CacheResolver<T>ComposableCacheResolver.compose
(Iterable<CacheResolver<T>> cacheResolvers) Factory method used to compose anIterable
collection ofCacheResolvers
in a composition.final void
SmartCacheResolverFactoryBean.setConfiguredCacheResolvers
(List<CacheResolver> cacheResolvers) ModifierConstructorDescriptionprotected
ComposableCacheResolver
(CacheResolver<T> cacheResolverOne, CacheResolver<T> cacheResolverTwo) Constructs a new instance ofComposableCacheResolver
initialized and composed with the givenCacheResolvers
forming the composition.