@Configuration public class PeerCacheConfiguration extends AbstractCacheConfiguration
Configuration class used to configure, construct and initialize
a GemFire 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_LOG_LEVEL, 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 application
GemFire cache type (i.e. client or peer). |
protected Integer |
searchTimeout() |
String |
toString() |
protected boolean |
useClusterConfiguration() |
beanClassLoader, beanFactory, cacheXml, close, configureOther, configurePdx, constructCacheFactoryBean, copyOnRead, criticalHeapPercentage, dynamicRegionSupport, evictionHeapPercentage, gatewayConflictResolver, gemfireProperties, getAnnotationTypeName, getAnnotationTypeSimpleName, hasValue, hasValue, hasValue, isCacheServerApplication, isClientCacheApplication, isClientPeerOrServerCacheApplication, isPeerCacheApplication, jndiDataSources, locators, logLevel, name, nullSafeList, nullSafeSet, nullSafeValue, pdxDiskStoreName, pdxIgnoreUnreadFields, pdxPersistent, pdxReadSerialized, pdxSerializer, setBeanClassLoader, setBeanFactory, setCommonCacheConfiguration, setImportMetadata, 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()
AbstractCacheConfigurationCacheFactoryBean based on the application
GemFire cache type (i.e. client or peer).newCacheFactoryBean in class AbstractCacheConfigurationT - Class type of the CacheFactoryBean.CacheFactoryBean for the particular application GemFire cache type
(i.e client or peer).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.AnnotationMetadataprotected Class getAnnotationType()
AbstractCacheConfigurationAnnotation 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()
toString in class AbstractCacheConfigurationCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.