@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,
CacheServerFactoryBeanAbstractAnnotationConfigSupport.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_CONFIGURATIONDEFAULT_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 |
|---|
CacheServerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureOptional(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<? extends Annotation> |
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()
Returns a
String containing the name of the Spring-configured Apache Geode CacheServer application
and data node in the cluster. |
configureCache, enableAutoReconnect, gemfireCache, lockLease, lockTimeout, messageSyncInterval, newCacheFactoryBean, searchTimeout, useClusterConfigurationadd, configureCacheFactoryBean, configureInfrastructure, 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_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,
Cacheprotected void configureOptional(AnnotationMetadata importMetadata)
CacheServer specific settings.configureOptional in class AbstractCacheConfigurationimportMetadata - AnnotationMetadata containing cache server meta-data used to
configure the CacheServer.AnnotationMetadata,
CacheServerprotected Class<? extends Annotation> getAnnotationType()
Annotation type pertaining to this configuration.getAnnotationType in class PeerCacheConfigurationAnnotation type used by this application.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()
String containing the name of the Spring-configured Apache Geode CacheServer application
and data node in the cluster.toString in class PeerCacheConfigurationString containing the name of the Spring-configured Apache Geode CacheServer application
and data node in the cluster.Object.toString()Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.