@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 |
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, useClusterConfiguration
add, configureCacheFactoryBean, configureInfrastructure, constructCacheFactoryBean, gemfireProperties, getCacheXml, getCopyOnRead, getCriticalHeapPercentage, getCriticalOffHeapPercentage, getDynamicRegionSupport, getEvictionHeapPercentage, getEvictionOffHeapPercentage, getGatewayConflictResolver, getJndiDataSources, getTransactionListeners, getTransactionWriter, isCacheServerApplication, isCacheServerOrPeerCacheApplication, isClientCacheApplication, isClientPeerOrServerCacheApplication, isClose, isPeerCacheApplication, isTypedCacheApplication, locators, logLevel, mcastPort, name, setImportMetadata, startLocator, useBeanFactoryLocator
arrayOfPropertyNamesFor, arrayOfPropertyNamesFor, asArrayProperty, cacheClientProperty, cacheCompressionProperty, cacheOffHeapProperty, cachePeerProperty, cacheProperty, cacheServerProperty, clusterProperty, diskStoreProperty, entitiesProperty, 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, 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 configureOptional(AnnotationMetadata importMetadata)
CacheServer
specific settings.configureOptional
in class AbstractCacheConfiguration
importMetadata
- AnnotationMetadata
containing cache server meta-data used to
configure the CacheServer
.AnnotationMetadata
,
CacheServer
protected Class<? extends Annotation> getAnnotationType()
Annotation
type pertaining to this configuration.getAnnotationType
in class PeerCacheConfiguration
Annotation
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 PeerCacheConfiguration
String
containing the name of the Spring-configured Apache Geode CacheServer
application
and data node in the cluster.Object.toString()
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.