Package | Description |
---|---|
org.springframework.data.gemfire.client.support | |
org.springframework.data.gemfire.support |
Support package for Spring Gemfire integration.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientCacheFactoryCacheResolver
|
Modifier and Type | Method and Description |
---|---|
protected CacheResolver<org.apache.geode.cache.client.ClientCache> |
ClientCacheDefaultPoolResolver.getClientCacheResolver()
Returns a reference to the configured
CacheResolver used to (lazily) resolve
the ClientCache instance. |
Constructor and Description |
---|
ClientCacheDefaultPoolResolver(CacheResolver<org.apache.geode.cache.client.ClientCache> clientCacheResolver)
Constructs a new instance of
ClientCacheDefaultPoolResolver initialized with a CacheResolver
used to lazily resolve the ClientCache instance on Pool resolution. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCachingCacheResolver<T extends org.apache.geode.cache.GemFireCache>
Thread-safe, abstract
CacheResolver implementation to "cache" the instance reference to the (single)
GemFireCache so that the GemFireCache object is only ever resolved once. |
class |
BeanFactoryCacheResolver
Cacheable
CacheResolver implementation capable of resolving a GemFireCache instance
from the Spring BeanFactory . |
class |
CacheFactoryCacheResolver
|
class |
ComposableCacheResolver<T extends org.apache.geode.cache.GemFireCache>
Composition of
CacheResolvers using
the Composite Software Design Pattern that acts,
and can be referred to, as a single instance of CacheResolver . |
Modifier and Type | Method and Description |
---|---|
static <T extends org.apache.geode.cache.GemFireCache> |
ComposableCacheResolver.compose(CacheResolver<T>... cacheResolvers)
Factory method used to compose an array of
CacheResolvers in a composition. |
static <T extends org.apache.geode.cache.GemFireCache> |
ComposableCacheResolver.compose(CacheResolver<T> one,
CacheResolver<T> two)
Null-safe factory method used to compose two
CacheResolver objects in a composition. |
static <T extends org.apache.geode.cache.GemFireCache> |
ComposableCacheResolver.compose(Iterable<CacheResolver<T>> cacheResolvers)
Factory method used to compose an
Iterable collection of CacheResolvers
in a composition. |
static CacheResolver<org.apache.geode.cache.Cache> |
SingleCacheCacheResolver.from(org.apache.geode.cache.Cache cache)
Factory method used to resolve a single, configured instance of a peer
Cache . |
static CacheResolver<org.apache.geode.cache.client.ClientCache> |
SingleCacheCacheResolver.from(org.apache.geode.cache.client.ClientCache clientCache)
Factory method used to resolve a single, configured instance of a peer
ClientCache . |
protected CacheResolver<T> |
ComposableCacheResolver.getCacheResolverOne()
Returns a reference to the first, non-null, configured
CacheResolver in the composition. |
protected CacheResolver<T> |
ComposableCacheResolver.getCacheResolverTwo()
Returns a reference to the second, non-null, configured
CacheResolver in the composition. |
CacheResolver<org.apache.geode.cache.GemFireCache> |
SmartCacheResolverFactoryBean.getObject()
Returns the fully constructed and initialized instance of the
CacheResolver
created by this FactoryBean . |
protected CacheResolver |
SmartCacheResolverFactoryBean.newBeanFactoryCacheResolver()
Constructs a
CacheResolver capable of resolving a cache instance from the Spring BeanFactory . |
protected CacheResolver |
SmartCacheResolverFactoryBean.newClientCacheFactoryCacheResolver()
Constructs a
CacheResolver capable of resolving a ClientCache instance using
the Apache Geode ClientCacheFactory API. |
protected CacheResolver |
SmartCacheResolverFactoryBean.newPeerCacheFactoryCacheResolver()
Constructs a
CacheResolver capable of resolving a peer Cache instance using
the Apache Geode CacheFactory API. |
protected CacheResolver |
SmartCacheResolverFactoryBean.newSingleCacheCacheResolver()
Constructs a
CacheResolver capable of resolving a single, configured cache instance. |
Modifier and Type | Method and Description |
---|---|
protected List<CacheResolver> |
SmartCacheResolverFactoryBean.getConfiguredCacheResolvers() |
Modifier and Type | Method and Description |
---|---|
static <T extends org.apache.geode.cache.GemFireCache> |
ComposableCacheResolver.compose(CacheResolver<T>... cacheResolvers)
Factory method used to compose an array of
CacheResolvers in a composition. |
static <T extends org.apache.geode.cache.GemFireCache> |
ComposableCacheResolver.compose(CacheResolver<T> one,
CacheResolver<T> two)
Null-safe factory method used to compose two
CacheResolver objects in a composition. |
static <T extends org.apache.geode.cache.GemFireCache> |
ComposableCacheResolver.compose(CacheResolver<T> one,
CacheResolver<T> two)
Null-safe factory method used to compose two
CacheResolver objects in a composition. |
static <S extends org.apache.geode.cache.GemFireCache> |
RegionServiceRegionResolver.from(CacheResolver<S> cacheResolver)
Factory method used to construct a
RegionServiceRegionResolver from a CacheResolver . |
Modifier and Type | Method and Description |
---|---|
static <T extends org.apache.geode.cache.GemFireCache> |
ComposableCacheResolver.compose(Iterable<CacheResolver<T>> cacheResolvers)
Factory method used to compose an
Iterable collection of CacheResolvers
in a composition. |
void |
SmartCacheResolverFactoryBean.setConfiguredCacheResolvers(List<CacheResolver> cacheResolvers) |
Constructor and Description |
---|
ComposableCacheResolver(CacheResolver<T> cacheResolverOne,
CacheResolver<T> cacheResolverTwo)
Constructs a new instance of
ComposableCacheResolver initialized and composed with
the given CacheResolvers forming the composition. |
ComposableCacheResolver(CacheResolver<T> cacheResolverOne,
CacheResolver<T> cacheResolverTwo)
Constructs a new instance of
ComposableCacheResolver initialized and composed with
the given CacheResolvers forming the composition. |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.