@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,
ConnectionEndpointListAbstractAnnotationConfigSupport.TypeResolver<T>| 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_LOCATORINFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX| Constructor and Description |
|---|
ClientCacheConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureCache(AnnotationMetadata importMetadata)
Configures
ClientCache specific settings. |
protected void |
configureInfrastructure(AnnotationMetadata importMetadata)
Configures Spring container infrastructure components and beans used by Spring Data GemFire
to enable Pivotal GemFire or Apache Geode to function properly inside a Spring context.
|
ClientCacheFactoryBean |
gemfireCache()
Bean declaration for a single, peer
ClientCache instance. |
protected Class<? extends Annotation> |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
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 |
getSocketConnectTimeout() |
protected Integer |
getStatisticsInterval() |
protected Integer |
getSubscriptionAckInterval() |
protected Boolean |
getSubscriptionEnabled() |
protected Integer |
getSubscriptionMessageTrackingTimeout() |
protected Integer |
getSubscriptionRedundancy() |
protected Boolean |
getThreadLocalConnections() |
protected <T extends CacheFactoryBean> |
newCacheFactoryBean()
Constructs a new instance of
ClientCacheFactoryBean used to create a peer ClientCache. |
protected ConnectionEndpoint |
newConnectionEndpoint(String host,
Integer port) |
String |
toString()
Returns a
String containing the name of the Spring-configured Apache Geode
ClientCache application. |
add, configureCacheFactoryBean, configureOptional, constructCacheFactoryBean, gemfireProperties, getCacheXml, getCopyOnRead, getCriticalHeapPercentage, getCriticalOffHeapPercentage, getEvictionHeapPercentage, getEvictionOffHeapPercentage, getGatewayConflictResolver, getJndiDataSources, getTransactionListeners, getTransactionWriter, isCacheServerApplication, isCacheServerOrPeerCacheApplication, isClientCacheApplication, isClientPeerOrServerCacheApplication, isClose, isPeerCacheApplication, isTypedCacheApplication, locators, logLevel, mcastPort, name, setImportMetadata, startLocator, useBeanFactoryLocatorarrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, gatewayReceiverProperty, gatewaySenderProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, getAnnotationTypeName, getAnnotationTypeSimpleName, getBeanClassLoader, getBeanFactory, getEnvironment, getEvaluationContext, getLog, hasValue, hasValue, hasValue, httpServiceProperty, isAnnotationPresent, isAnnotationPresent, isNotInfrastructureBean, isNotInfrastructureBean, isNotInfrastructureClass, isNotInfrastructureClass, isNotInfrastructureRole, isUserLevelMethod, locatorProperty, logDebug, logDebug, logError, logError, loggingProperty, logInfo, logInfo, logWarning, logWarning, managementProperty, managerProperty, memcachedServiceProperty, namedCacheServerProperty, namedDiskStoreProperty, namedGatewaySenderProperty, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsPropertyprotected 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 AbstractCacheConfigurationT - Class sub-type of CacheFactoryBean.ClientCacheFactoryBean.ClientCacheFactoryBeanprotected void configureInfrastructure(AnnotationMetadata importMetadata)
ClientCaches.configureInfrastructure in class AbstractCacheConfigurationimportMetadata - AnnotationMetadata containing annotation meta-data
for the Spring Data GemFire cache application class.AnnotationMetadataprotected void configureCache(AnnotationMetadata importMetadata)
ClientCache specific settings.configureCache in class AbstractCacheConfigurationimportMetadata - AnnotationMetadata containing client cache meta-data used to
configure the ClientCache.AnnotationMetadata,
configureLocatorsAndServers(Map)protected ConnectionEndpoint newConnectionEndpoint(String host, Integer port)
protected Class<? extends Annotation> getAnnotationType()
Annotation type pertaining to this configuration.getAnnotationType in class AbstractAnnotationConfigSupportAnnotation type used by this application.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 getSocketConnectTimeout()
protected Integer getStatisticsInterval()
protected Integer getSubscriptionAckInterval()
protected Boolean getSubscriptionEnabled()
protected Integer getSubscriptionMessageTrackingTimeout()
protected Integer getSubscriptionRedundancy()
protected Boolean getThreadLocalConnections()
public String toString()
String containing the name of the Spring-configured Apache Geode
ClientCache application.toString in class AbstractCacheConfigurationString containing the name of the Spring-configured Apache Geode
ClientCache application.Object.toString()Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.