@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
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.
|
protected String |
durableClientId() |
protected Integer |
durableClientTimeout() |
protected Integer |
freeConnectionTimeout() |
ClientCacheFactoryBean |
gemfireCache()
Bean declaration for a single, peer
ClientCache instance. |
protected Class |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
protected Long |
idleTimeout() |
protected Boolean |
keepAlive() |
protected Integer |
loadConditioningInterval() |
protected Integer |
maxConnections() |
protected Integer |
minConnections() |
protected Boolean |
multiUserAuthentication() |
protected <T extends CacheFactoryBean> |
newCacheFactoryBean()
Constructs a new instance of
ClientCacheFactoryBean used to create a peer ClientCache . |
protected ConnectionEndpoint |
newConnectionEndpoint(String host,
Integer port) |
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() |
String |
toString() |
add, cacheXml, close, configureCacheFactoryBean, configurePdx, configureTheRest, constructCacheFactoryBean, copyOnRead, criticalHeapPercentage, dynamicRegionSupport, evictionHeapPercentage, gatewayConflictResolver, gemfireProperties, getAnnotationTypeName, getAnnotationTypeSimpleName, isCacheServerApplication, isCacheServerOrPeerCacheApplication, isClientCacheApplication, isClientPeerOrServerCacheApplication, isPeerCacheApplication, isTypedCacheApplication, jndiDataSources, locators, logLevel, mappingContext, mcastPort, name, newPdxSerializer, newPdxSerializer, pdxDiskStoreName, pdxIgnoreUnreadFields, pdxPersistent, pdxReadSerialized, pdxSerializer, resolvePdxSerializer, setImportMetadata, startLocator, transactionListeners, transactionWriter, useBeanFactoryLocator
afterPropertiesSet, beanClassLoader, beanFactory, evaluationContext, hasValue, hasValue, hasValue, newEvaluationContext, register, register, setBeanClassLoader, setBeanFactory
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 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()
AbstractCacheConfiguration
toString
in class AbstractCacheConfiguration
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.