public class ClientCacheFactoryBean extends CacheFactoryBean
CacheFactoryBean.DynamicRegionSupport, CacheFactoryBean.JndiDataSource
Modifier and Type | Field and Description |
---|---|
protected Boolean |
readyForEvents |
beanClassLoader, beanFactory, beanName, cache, cacheXml, close, copyOnRead, criticalHeapPercentage, dynamicRegionSupport, enableAutoReconnect, evictionHeapPercentage, factoryLocator, gatewayConflictResolver, jndiDataSources, lazyInitialize, lockLease, lockTimeout, log, messageSyncInterval, pdxDiskStoreName, pdxIgnoreUnreadFields, pdxPersistent, pdxReadSerialized, pdxSerializer, properties, searchTimeout, transactionListeners, transactionWriter, useBeanFactoryLocator, useClusterConfiguration, VALID_JNDI_DATASOURCE_TYPE_NAMES
Constructor and Description |
---|
ClientCacheFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
applyPdxOptions(Object factory)
Sets the PDX properties for the given object.
|
protected GemFireCache |
createCache(Object factory) |
protected Object |
createFactory(Properties gemfireProperties) |
protected GemFireCache |
fetchCache() |
Boolean |
getEnableAutoReconnect()
Gets the value for the auto-reconnect setting.
|
Boolean |
getReadyForEvents()
Gets the value for the readyForEvents property.
|
Boolean |
getUseClusterConfiguration()
Gets the value fo the use-shared-configuration GemFire setting.
|
protected void |
postProcessPropertiesBeforeInitialization(Properties gemfireProperties) |
void |
setEnableAutoReconnect(Boolean enableAutoReconnect)
Controls whether auto-reconnect functionality introduced in GemFire 8 is enabled or not.
|
void |
setPool(Pool pool)
Sets the pool used by this client.
|
void |
setPoolName(String poolName)
Sets the pool name used by this client.
|
void |
setReadyForEvents(Boolean readyForEvents)
Set the readyForEvents flag.
|
void |
setUseClusterConfiguration(Boolean useClusterConfiguration)
Sets the state of the use-shared-configuration GemFire distribution config setting.
|
afterPropertiesSet, destroy, getBeanClassLoader, getBeanFactory, getBeanFactoryLocator, getBeanName, getCacheXml, getCopyOnRead, getCriticalHeapPercentage, getDynamicRegionSupport, getEvictionHeapPercentage, getGatewayConflictResolver, getJndiDataSources, getLockLease, getLockTimeout, getMessageSyncInterval, getObject, getObjectType, getPdxDiskStoreName, getPdxIgnoreUnreadFields, getPdxPersistent, getPdxReadSerialized, getPdxSerializer, getProperties, getSearchTimeout, getTransactionListeners, getTransactionWriter, isLazyInitialize, isSingleton, registerTransactionListeners, registerTransactionWriter, setBeanClassLoader, setBeanFactory, setBeanName, setCacheXml, setClose, setCopyOnRead, setCriticalHeapPercentage, setDynamicRegionSupport, setEvictionHeapPercentage, setGatewayConflictResolver, setJndiDataSources, setLazyInitialize, setLockLease, setLockTimeout, setMessageSyncInterval, setPdxDiskStoreName, setPdxIgnoreUnreadFields, setPdxPersistent, setPdxReadSerialized, setPdxSerializer, setProperties, setSearchTimeout, setTransactionListeners, setTransactionWriter, setUseBeanFactoryLocator, translateExceptionIfPossible
protected Boolean readyForEvents
protected GemFireCache createCache(Object factory)
createCache
in class CacheFactoryBean
protected Object createFactory(Properties gemfireProperties)
createFactory
in class CacheFactoryBean
protected GemFireCache fetchCache()
fetchCache
in class CacheFactoryBean
protected void applyPdxOptions(Object factory)
CacheFactoryBean
applyPdxOptions
in class CacheFactoryBean
factory
- the GemFire CacheFactory used to apply the PDX configuration settings.protected void postProcessPropertiesBeforeInitialization(Properties gemfireProperties)
postProcessPropertiesBeforeInitialization
in class CacheFactoryBean
public final Boolean getEnableAutoReconnect()
CacheFactoryBean
getEnableAutoReconnect
in class CacheFactoryBean
public final void setEnableAutoReconnect(Boolean enableAutoReconnect)
CacheFactoryBean
setEnableAutoReconnect
in class CacheFactoryBean
enableAutoReconnect
- a boolean value to enable/disable auto-reconnect functionality.public void setPool(Pool pool)
pool
- the GemFire pool used by the Client Cache to obtain connections to the GemFire cluster.public void setPoolName(String poolName)
poolName
- set the name of the GemFire Pool used by the GemFire Client Cache.public void setReadyForEvents(Boolean readyForEvents)
readyForEvents
- sets a boolean flag to notify the server that this durable client is ready
to receive updates.getReadyForEvents()
public Boolean getReadyForEvents()
public final Boolean getUseClusterConfiguration()
CacheFactoryBean
getUseClusterConfiguration
in class CacheFactoryBean
public final void setUseClusterConfiguration(Boolean useClusterConfiguration)
CacheFactoryBean
setUseClusterConfiguration
in class CacheFactoryBean
useClusterConfiguration
- a boolean value to set the use-shared-configuration GemFire distribution property.