Uses of Interface
org.springframework.data.gemfire.CacheResolver
Packages that use CacheResolver
Package
Description
Support package for Spring Gemfire integration.
-
Uses of CacheResolver in org.springframework.data.gemfire.client.support
Classes in org.springframework.data.gemfire.client.support that implement CacheResolverModifier and TypeClassDescriptionclass
Methods in org.springframework.data.gemfire.client.support that return CacheResolverModifier and TypeMethodDescriptionprotected CacheResolver<ClientCache>
ClientCacheDefaultPoolResolver.getClientCacheResolver()
Returns a reference to the configuredCacheResolver
used to (lazily) resolve theClientCache
instance.Constructors in org.springframework.data.gemfire.client.support with parameters of type CacheResolverModifierConstructorDescriptionClientCacheDefaultPoolResolver
(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
Classes in org.springframework.data.gemfire.support that implement CacheResolverModifier 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
.Methods in org.springframework.data.gemfire.support that return CacheResolverModifier 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.Methods in org.springframework.data.gemfire.support that return types with arguments of type CacheResolverModifier and TypeMethodDescriptionprotected List<CacheResolver>
SmartCacheResolverFactoryBean.getConfiguredCacheResolvers()
Methods in org.springframework.data.gemfire.support with parameters of type CacheResolverModifier 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
.Method parameters in org.springframework.data.gemfire.support with type arguments of type CacheResolverModifier 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) Constructors in org.springframework.data.gemfire.support with parameters of type CacheResolverModifierConstructorDescriptionprotected
ComposableCacheResolver
(CacheResolver<T> cacheResolverOne, CacheResolver<T> cacheResolverTwo) Constructs a new instance ofComposableCacheResolver
initialized and composed with the givenCacheResolvers
forming the composition.