@Configuration public class CacheServerConfiguration extends PeerCacheConfiguration
Configuration
class used to construct, configure and initialize a CacheServer
instance
in a Spring application context.Cache
,
CacheServer
,
Bean
,
Configuration
,
AddCacheServerConfiguration
,
AddCacheServersConfiguration
,
CacheServerConfigurer
,
EnableCacheServer
,
EnableCacheServers
,
PeerCacheConfiguration
,
CacheServerFactoryBean
AbstractAnnotationConfigSupport.TypeResolver<T>
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEFAULT_AUTO_STARTUP |
protected static String |
DEFAULT_NAME |
DEFAULT_ENABLE_AUTO_RECONNECT, DEFAULT_USE_CLUSTER_CONFIGURATION
DEFAULT_CLOSE, DEFAULT_COPY_ON_READ, DEFAULT_LOCATORS, DEFAULT_LOG_LEVEL, DEFAULT_MCAST_PORT, DEFAULT_USE_BEAN_FACTORY_LOCATOR
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
Constructor and Description |
---|
CacheServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureTheRest(AnnotationMetadata importMetadata)
Configures
CacheServer specific settings. |
CacheServerFactoryBean |
gemfireCacheServer(org.apache.geode.cache.GemFireCache gemfireCache)
Bean declaration for a single,
CacheServer to serve cache client applications. |
protected Class |
getAnnotationType()
Returns the cache application
Annotation type pertaining to this configuration. |
protected String |
getBindAddress() |
protected String |
getHostnameForClients() |
protected Set<org.apache.geode.cache.InterestRegistrationListener> |
getInterestRegistrationListeners() |
protected Long |
getLoadPollInterval() |
protected Integer |
getMaxConnections() |
protected Integer |
getMaxMessageCount() |
protected Integer |
getMaxThreads() |
protected Integer |
getMaxTimeBetweenPings() |
protected Integer |
getMessageTimeToLive() |
protected Integer |
getPort() |
protected org.apache.geode.cache.server.ServerLoadProbe |
getServerLoadProbe() |
protected Integer |
getSocketBufferSize() |
protected Integer |
getSubscriptionCapacity() |
protected String |
getSubscriptionDiskStoreName() |
protected SubscriptionEvictionPolicy |
getSubscriptionEvictionPolicy() |
protected Boolean |
getTcpNoDelay() |
protected boolean |
isAutoStartup() |
String |
toString() |
configureCache, enableAutoReconnect, gemfireCache, lockLease, lockTimeout, messageSyncInterval, newCacheFactoryBean, searchTimeout, useClusterConfiguration
add, configureCacheFactoryBean, configureInfrastructure, configurePdx, 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, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, componentSslProperty, diskStoreProperty, entitiesProperty, getAnnotationAttributes, getAnnotationAttributes, getAnnotationAttributes, 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, namedPoolProperty, newEvaluationContext, newLog, pdxProperty, poolProperty, propertyName, redisServiceProperty, register, register, requireProperty, resolveAnnotation, resolveBeanClass, resolveBeanClass, resolveBeanClassLoader, resolveBeanClassLoader, resolveBeanClassName, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, resolveProperty, safeResolveType, securityProperty, serviceProperty, setBeanClassLoader, setBeanFactory, setEnvironment, sslProperty, statsProperty
protected static final boolean DEFAULT_AUTO_STARTUP
protected static final String DEFAULT_NAME
@Bean public CacheServerFactoryBean gemfireCacheServer(org.apache.geode.cache.GemFireCache gemfireCache)
CacheServer
to serve cache client
applications.gemfireCache
- peer Cache
instance in which to add the CacheServer
.CacheServerFactoryBean
used to construct, configure and initialize
the CacheServer
instance.CacheServerFactoryBean
,
CacheServer
,
Cache
protected void configureTheRest(AnnotationMetadata importMetadata)
CacheServer
specific settings.configureTheRest
in class AbstractCacheConfiguration
importMetadata
- AnnotationMetadata
containing cache server meta-data used to
configure the CacheServer
.AnnotationMetadata
,
CacheServer
protected Class getAnnotationType()
Annotation
type pertaining to this configuration.getAnnotationType
in class PeerCacheConfiguration
Annotation
type used by this application.CacheServerApplication
,
ClientCacheApplication
,
PeerCacheApplication
protected boolean isAutoStartup()
protected String getBindAddress()
protected String getHostnameForClients()
protected Set<org.apache.geode.cache.InterestRegistrationListener> getInterestRegistrationListeners()
protected Long getLoadPollInterval()
protected Integer getMaxConnections()
protected Integer getMaxMessageCount()
protected Integer getMaxThreads()
protected Integer getMaxTimeBetweenPings()
protected Integer getMessageTimeToLive()
protected Integer getPort()
protected org.apache.geode.cache.server.ServerLoadProbe getServerLoadProbe()
protected Integer getSocketBufferSize()
protected Integer getSubscriptionCapacity()
protected String getSubscriptionDiskStoreName()
protected SubscriptionEvictionPolicy getSubscriptionEvictionPolicy()
protected Boolean getTcpNoDelay()
public String toString()
AbstractCacheConfiguration
toString
in class PeerCacheConfiguration
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.