Class CacheServerConfiguration
java.lang.Object
org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
org.springframework.data.gemfire.config.annotation.AbstractCacheConfiguration
org.springframework.data.gemfire.config.annotation.PeerCacheConfiguration
org.springframework.data.gemfire.config.annotation.CacheServerConfiguration
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,ImportAware
,EnvironmentAware
Spring
Configuration
class used to construct, configure and initialize a CacheServer
instance
in a Spring application context.- Since:
- 1.9.0
- Author:
- John Blum
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
AbstractAnnotationConfigSupport.TypeResolver<T>
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.config.annotation.PeerCacheConfiguration
DEFAULT_ENABLE_AUTO_RECONNECT, DEFAULT_USE_CLUSTER_CONFIGURATION
Fields inherited from class org.springframework.data.gemfire.config.annotation.AbstractCacheConfiguration
DEFAULT_CLOSE, DEFAULT_COPY_ON_READ, DEFAULT_LOCATORS, DEFAULT_LOG_LEVEL, DEFAULT_MCAST_PORT, DEFAULT_USE_BEAN_FACTORY_LOCATOR
Fields inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
INFRASTRUCTURE_ROLES, ORG_SPRINGFRAMEWORK_DATA_GEMFIRE_PACKAGE, ORG_SPRINGFRAMEWORK_PACKAGE, SPRING_DATA_GEMFIRE_PROPERTY_PREFIX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
configureOptional
(AnnotationMetadata importMetadata) ConfiguresCacheServer
specific settings.gemfireCacheServer
(GemFireCache gemfireCache) Bean declaration for a single,CacheServer
to servecache client
applications.protected Class<? extends Annotation>
Returns the cache applicationAnnotation
type pertaining to this configuration.protected String
protected String
protected Set<InterestRegistrationListener>
protected Long
protected Integer
protected Integer
protected Integer
protected Integer
protected Integer
protected Integer
getPort()
protected ServerLoadProbe
protected Integer
protected Integer
protected String
protected SubscriptionEvictionPolicy
protected Boolean
protected boolean
toString()
Returns aString
containing the name of the Spring-configured Apache GeodeCacheServer
application and data node in the cluster.Methods inherited from class org.springframework.data.gemfire.config.annotation.PeerCacheConfiguration
configureCache, enableAutoReconnect, gemfireCache, lockLease, lockTimeout, messageSyncInterval, newCacheFactoryBean, searchTimeout, useClusterConfiguration
Methods inherited from class org.springframework.data.gemfire.config.annotation.AbstractCacheConfiguration
add, 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, useBeanFactoryLocator
Methods inherited from class org.springframework.data.gemfire.config.annotation.support.AbstractAnnotationConfigSupport
arrayOfPropertyNamesFor, 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, statsProperty
-
Field Details
-
DEFAULT_AUTO_STARTUP
protected static final boolean DEFAULT_AUTO_STARTUP- See Also:
-
DEFAULT_NAME
- See Also:
-
-
Constructor Details
-
CacheServerConfiguration
public CacheServerConfiguration()
-
-
Method Details
-
gemfireCacheServer
Bean declaration for a single,CacheServer
to servecache client
applications.- Parameters:
gemfireCache
- peerCache
instance in which to add theCacheServer
.- Returns:
- a
CacheServerFactoryBean
used to construct, configure and initialize theCacheServer
instance. - See Also:
-
configureOptional
ConfiguresCacheServer
specific settings.- Overrides:
configureOptional
in classAbstractCacheConfiguration
- Parameters:
importMetadata
-AnnotationMetadata
containing cache server meta-data used to configure theCacheServer
.- See Also:
-
getAnnotationType
Returns the cache applicationAnnotation
type pertaining to this configuration.- Overrides:
getAnnotationType
in classPeerCacheConfiguration
- Returns:
- the cache application
Annotation
type used by this application.
-
isAutoStartup
protected boolean isAutoStartup() -
getBindAddress
-
getHostnameForClients
-
getInterestRegistrationListeners
-
getLoadPollInterval
-
getMaxConnections
-
getMaxMessageCount
-
getMaxThreads
-
getMaxTimeBetweenPings
-
getMessageTimeToLive
-
getPort
-
getServerLoadProbe
-
getSocketBufferSize
-
getSubscriptionCapacity
-
getSubscriptionDiskStoreName
-
getSubscriptionEvictionPolicy
-
getTcpNoDelay
-
toString
Returns aString
containing the name of the Spring-configured Apache GeodeCacheServer
application and data node in the cluster.- Overrides:
toString
in classPeerCacheConfiguration
- Returns:
- a
String
containing the name of the Spring-configured Apache GeodeCacheServer
application and data node in the cluster. - See Also:
-