@Configuration public class ClientCacheConfiguration extends AbstractCacheConfiguration
Configuration
class used to configure, construct and initialize
a GemFire ClientCache
instance in a Spring application context.Bean
,
Configuration
,
AbstractCacheConfiguration
,
ClientCache
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_NAME |
protected static boolean |
DEFAULT_READY_FOR_EVENTS |
DEFAULT_CLOSE, DEFAULT_COPY_ON_READ, DEFAULT_LOG_LEVEL, DEFAULT_USE_BEAN_FACTORY_LOCATOR
Constructor and Description |
---|
ClientCacheConfiguration() |
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, useBeanFactoryLocator
protected static final boolean DEFAULT_READY_FOR_EVENTS
protected static final String DEFAULT_NAME
@Bean public ClientCacheFactoryBean gemfireCache()
protected <T extends CacheFactoryBean> T newCacheFactoryBean()
AbstractCacheConfiguration
CacheFactoryBean
based on the application
GemFire cache type (i.e. client or peer).newCacheFactoryBean
in class AbstractCacheConfiguration
T
- Class type of the CacheFactoryBean
.CacheFactoryBean
for the particular application GemFire cache type
(i.e client or peer).ClientCacheFactoryBean
,
CacheFactoryBean
protected void configureCache(AnnotationMetadata importMetadata)
ClientCache
specific settings.configureCache
in class AbstractCacheConfiguration
importMetadata
- AnnotationMetadata
containing client cache meta-data used to configure
the GemFire ClientCache
.AnnotationMetadata
protected Class getAnnotationType()
AbstractCacheConfiguration
Annotation
type pertaining to
this configuration.getAnnotationType
in class AbstractCacheConfiguration
Annotation
type used by this application.CacheServerApplication
,
ClientCacheApplication
,
PeerCacheApplication
protected String durableClientId()
protected Integer durableClientTimeout()
protected Integer freeConnectionTimeout()
protected Long idleTimeout()
protected Boolean keepAlive()
protected Integer loadConditioningInterval()
protected Integer maxConnections()
protected Integer minConnections()
protected Boolean multiUserAuthentication()
protected Long pingInterval()
protected Iterable<ConnectionEndpoint> poolLocators()
protected Iterable<ConnectionEndpoint> poolServers()
protected Boolean prSingleHopEnabled()
protected Integer readTimeout()
protected boolean readyForEvents()
protected Integer retryAttempts()
protected String serverGroup()
protected Integer socketBufferSize()
protected Integer statisticsInterval()
protected Integer subscriptionAckInterval()
protected Boolean subscriptionEnabled()
protected Integer subscriptionMessageTrackingTimeout()
protected Integer subscriptionRedundancy()
protected Boolean threadLocalConnections()
public String toString()
toString
in class AbstractCacheConfiguration
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.