@Configuration public class PeerCacheConfiguration extends AbstractCacheConfiguration
Configuration class used to configure, construct and initialize
a GemFire peer Cache instance in a Spring application context.Bean,
Configuration,
AbstractCacheConfiguration,
Cache| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
DEFAULT_ENABLE_AUTO_RECONNECT |
protected static String |
DEFAULT_NAME |
protected static boolean |
DEFAULT_USE_CLUSTER_CONFIGURATION |
DEFAULT_CLOSE, DEFAULT_COPY_ON_READ, DEFAULT_LOCATORS, DEFAULT_LOG_LEVEL, DEFAULT_MCAST_PORT, DEFAULT_USE_BEAN_FACTORY_LOCATOR| Constructor and Description |
|---|
PeerCacheConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureCache(AnnotationMetadata importMetadata)
Configures GemFire peer
Cache specific settings. |
protected boolean |
enableAutoReconnect() |
CacheFactoryBean |
gemfireCache() |
protected Class |
getAnnotationType()
Returns the GemFire cache application
Annotation type pertaining to
this configuration. |
protected Integer |
lockLease() |
protected Integer |
lockTimeout() |
protected Integer |
messageSyncInterval() |
protected <T extends CacheFactoryBean> |
newCacheFactoryBean()
Constructs a new, uninitialized instance of the
CacheFactoryBean based on the Spring application's
GemFire cache type (i.e. client or peer) preference specified via annotation. |
protected Integer |
searchTimeout() |
String |
toString() |
protected boolean |
useClusterConfiguration() |
add, beanClassLoader, beanFactory, cacheXml, close, configureInfrastructure, configureOther, configurePdx, constructCacheFactoryBean, copyOnRead, criticalHeapPercentage, dynamicRegionSupport, evictionHeapPercentage, gatewayConflictResolver, gemfireProperties, getAnnotationTypeName, getAnnotationTypeSimpleName, hasValue, hasValue, hasValue, isCacheServerApplication, isCacheServerOrPeerCacheApplication, isClientCacheApplication, isClientPeerOrServerCacheApplication, isPeerCacheApplication, isTypedCacheApplication, jndiDataSources, locators, logLevel, mappingContext, mcastPort, name, newPdxSerializer, pdxDiskStoreName, pdxIgnoreUnreadFields, pdxPersistent, pdxReadSerialized, pdxSerializer, register, registerCustomEditorBeanFactoryPostProcessor, registerDefinedIndexesApplicationListener, registerDiskStoreDirectoryBeanPostProcessor, registerPdxDiskStoreAwareBeanFactoryPostProcessor, resolvePdxSerializer, setBeanClassLoader, setBeanFactory, setCommonCacheConfiguration, setImportMetadata, startLocator, transactionListeners, transactionWriter, useBeanFactoryLocatorprotected static final boolean DEFAULT_ENABLE_AUTO_RECONNECT
protected static final boolean DEFAULT_USE_CLUSTER_CONFIGURATION
protected static final String DEFAULT_NAME
@Bean public CacheFactoryBean gemfireCache()
protected <T extends CacheFactoryBean> T newCacheFactoryBean()
CacheFactoryBean based on the Spring application's
GemFire cache type (i.e. client or peer) preference specified via annotation.newCacheFactoryBean in class AbstractCacheConfigurationT - Class type of the CacheFactoryBean.CacheFactoryBean given the Spring application's
GemFire cache type preference (i.e client or peer) specified with the corresponding annotation
(e.g. ClientCacheApplication or PeerCacheApplication).ClientCacheFactoryBean,
CacheFactoryBeanprotected void configureCache(AnnotationMetadata importMetadata)
Cache specific settings.configureCache in class AbstractCacheConfigurationimportMetadata - AnnotationMetadata containing peer cache meta-data used to configure
the GemFire peer Cache.AnnotationMetadata,
AbstractCacheConfiguration.isCacheServerOrPeerCacheApplication(AnnotationMetadata)protected Class getAnnotationType()
Annotation type pertaining to
this configuration.getAnnotationType in class AbstractCacheConfigurationAnnotation type used by this application.CacheServerApplication,
ClientCacheApplication,
PeerCacheApplicationprotected boolean enableAutoReconnect()
protected Integer lockLease()
protected Integer lockTimeout()
protected Integer messageSyncInterval()
protected Integer searchTimeout()
protected boolean useClusterConfiguration()
public String toString()
AbstractCacheConfigurationtoString in class AbstractCacheConfigurationCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.