@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
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
Constructor and Description |
---|
CacheServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
autoStartup() |
protected String |
bindAddress() |
protected void |
configureTheRest(AnnotationMetadata importMetadata)
Configures
CacheServer specific settings. |
CacheServerFactoryBean |
gemfireCacheServer(org.apache.geode.cache.Cache 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 |
hostnameForClients() |
protected Set<org.apache.geode.cache.InterestRegistrationListener> |
interestRegistrationListeners() |
protected Long |
loadPollInterval() |
protected Integer |
maxConnections() |
protected Integer |
maxMessageCount() |
protected Integer |
maxThreads() |
protected Integer |
maxTimeBetweenPings() |
protected Integer |
messageTimeToLive() |
protected Integer |
port() |
protected org.apache.geode.cache.server.ServerLoadProbe |
serverLoadProbe() |
protected Integer |
socketBufferSize() |
protected Integer |
subscriptionCapacity() |
protected String |
subscriptionDiskStoreName() |
protected SubscriptionEvictionPolicy |
subscriptionEvictionPolicy() |
String |
toString() |
configureCache, enableAutoReconnect, gemfireCache, lockLease, lockTimeout, messageSyncInterval, newCacheFactoryBean, searchTimeout, useClusterConfiguration
add, cacheXml, close, configureCacheFactoryBean, configureInfrastructure, configurePdx, 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_AUTO_STARTUP
protected static final String DEFAULT_NAME
@Bean public CacheServerFactoryBean gemfireCacheServer(org.apache.geode.cache.Cache 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 autoStartup()
protected String bindAddress()
protected String hostnameForClients()
protected Set<org.apache.geode.cache.InterestRegistrationListener> interestRegistrationListeners()
protected Long loadPollInterval()
protected Integer maxConnections()
protected Integer maxMessageCount()
protected Integer maxThreads()
protected Integer maxTimeBetweenPings()
protected Integer messageTimeToLive()
protected Integer port()
protected org.apache.geode.cache.server.ServerLoadProbe serverLoadProbe()
protected Integer socketBufferSize()
protected Integer subscriptionCapacity()
protected String subscriptionDiskStoreName()
protected SubscriptionEvictionPolicy subscriptionEvictionPolicy()
public String toString()
AbstractCacheConfiguration
toString
in class PeerCacheConfiguration
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.