@Configuration public class ClientCacheConfiguration extends AbstractCacheConfiguration
Configuration
class used to construct, configure and initialize
a ClientCache
instance in a Spring application context.ClientCache
,
Pool
,
BeanDefinition
,
BeanDefinitionBuilder
,
Bean
,
Configuration
,
AnnotationMetadata
,
CacheFactoryBean
,
ClientCacheFactoryBean
,
AbstractCacheConfiguration
,
ClientCacheConfigurer
,
ClientRegionPoolBeanFactoryPostProcessor
,
ConnectionEndpoint
,
ConnectionEndpointList
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_LOCATORS, DEFAULT_LOG_LEVEL, DEFAULT_MCAST_PORT, DEFAULT_USE_BEAN_FACTORY_LOCATOR
SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
Constructor and Description |
---|
ClientCacheConfiguration() |
add, configureCacheFactoryBean, configurePdx, configureTheRest, constructCacheFactoryBean, gemfireProperties, getAnnotationTypeName, getAnnotationTypeSimpleName, getCacheXml, getCopyOnRead, getCriticalHeapPercentage, getDynamicRegionSupport, getEvictionHeapPercentage, getGatewayConflictResolver, getJndiDataSources, getPdxDiskStoreName, getPdxIgnoreUnreadFields, getPdxPersistent, getPdxReadSerialized, getPdxSerializer, getTransactionListeners, getTransactionWriter, isCacheServerApplication, isCacheServerOrPeerCacheApplication, isClientCacheApplication, isClientPeerOrServerCacheApplication, isClose, isPeerCacheApplication, isTypedCacheApplication, locators, logLevel, mappingContext, mcastPort, name, newPdxSerializer, newPdxSerializer, resolvePdxSerializer, setImportMetadata, startLocator, useBeanFactoryLocator
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, beanClassLoader, beanFactory, cacheClientProperty, cachePeerProperty, cacheProperty, cacheServerProperty, componentSslProperty, diskStoreProperty, environment, evaluationContext, getLog, hasValue, hasValue, hasValue, httpServiceProperty, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
protected static final boolean DEFAULT_READY_FOR_EVENTS
protected static final String DEFAULT_NAME
@Bean public ClientCacheFactoryBean gemfireCache()
ClientCache
instance.ClientCache
.ClientCacheFactoryBean
,
ClientCache
,
GemFireCache
,
AbstractCacheConfiguration.constructCacheFactoryBean()
protected <T extends CacheFactoryBean> T newCacheFactoryBean()
ClientCacheFactoryBean
used to create a peer ClientCache
.newCacheFactoryBean
in class AbstractCacheConfiguration
T
- Class
sub-type of CacheFactoryBean
.ClientCacheFactoryBean
.ClientCacheFactoryBean
protected void configureInfrastructure(AnnotationMetadata importMetadata)
ClientCaches
.configureInfrastructure
in class AbstractCacheConfiguration
importMetadata
- AnnotationMetadata
containing annotation meta-data
for the Spring Data GemFire cache application class.AnnotationMetadata
protected void configureCache(AnnotationMetadata importMetadata)
ClientCache
specific settings.configureCache
in class AbstractCacheConfiguration
importMetadata
- AnnotationMetadata
containing client cache meta-data used to
configure the ClientCache
.AnnotationMetadata
,
configureLocatorsAndServers(Map)
protected ConnectionEndpoint newConnectionEndpoint(String host, Integer port)
protected Class getAnnotationType()
Annotation
type pertaining to this configuration.getAnnotationType
in class AbstractCacheConfiguration
Annotation
type used by this application.CacheServerApplication
,
ClientCacheApplication
,
PeerCacheApplication
protected String getDurableClientId()
protected Integer getDurableClientTimeout()
protected Integer getFreeConnectionTimeout()
protected Long getIdleTimeout()
protected Boolean getKeepAlive()
protected Integer getLoadConditioningInterval()
protected Integer getMaxConnections()
protected Integer getMinConnections()
protected Boolean getMultiUserAuthentication()
protected Long getPingInterval()
protected Iterable<ConnectionEndpoint> getPoolLocators()
protected Iterable<ConnectionEndpoint> getPoolServers()
protected Boolean getPrSingleHopEnabled()
protected Integer getReadTimeout()
protected boolean getReadyForEvents()
protected Integer getRetryAttempts()
protected String getServerGroup()
protected Integer getSocketBufferSize()
protected Integer getStatisticsInterval()
protected Integer getSubscriptionAckInterval()
protected Boolean getSubscriptionEnabled()
protected Integer getSubscriptionMessageTrackingTimeout()
protected Integer getSubscriptionRedundancy()
protected Boolean getThreadLocalConnections()
public String toString()
AbstractCacheConfiguration
toString
in class AbstractCacheConfiguration
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.