public class ClientCacheFactoryBean extends CacheFactoryBean
CacheFactoryBean.DynamicRegionSupport, CacheFactoryBean.JndiDataSource| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
readyForEvents |
beanClassLoader, beanFactory, beanFactoryLocator, beanName, cache, cacheXml, close, copyOnRead, criticalHeapPercentage, dynamicRegionSupport, evictionHeapPercentage, gatewayConflictResolver, jndiDataSources, lazyInitialize, lockLease, lockTimeout, log, messageSyncInterval, pdxDiskStoreName, pdxIgnoreUnreadFields, pdxPersistent, pdxReadSerialized, pdxSerializer, properties, searchTimeout, transactionListeners, transactionWriter, useBeanFactoryLocator, VALID_JNDI_DATASOURCE_TYPE_NAMES| Constructor and Description |
|---|
ClientCacheFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
protected com.gemstone.gemfire.cache.GemFireCache |
createCache(Object factory)
Creates a new GemFire cache instance using the provided factory.
|
protected Object |
createFactory(Properties gemfireProperties)
Creates an instance of GemFire factory initialized with the given GemFire System Properties
to create an instance of the cache.
|
protected com.gemstone.gemfire.cache.GemFireCache |
fetchCache()
Fetches the GemFire Cache by looking up any existing GemFire Cache instance.
|
Boolean |
getReadyForEvents() |
protected void |
postProcessPropertiesBeforeInitialization(Properties gemfireProperties) |
protected void |
setPdxOptions(Object factory)
Sets the PDX properties for the given Cache factory.
|
void |
setPool(com.gemstone.gemfire.cache.client.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.
|
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, initializeFactory, isLazyInitialize, isPdxOptionsSpecified, isSingleton, nullSafeCollection, postProcess, resolveCache, 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, translateExceptionIfPossibleprotected Boolean readyForEvents
protected void postProcessPropertiesBeforeInitialization(Properties gemfireProperties)
postProcessPropertiesBeforeInitialization in class CacheFactoryBeanprotected com.gemstone.gemfire.cache.GemFireCache createCache(Object factory)
CacheFactoryBeancreateCache in class CacheFactoryBeanfactory - the appropriate GemFire factory used to create a cache instance.GemFireCache,
CacheFactory.create()protected Object createFactory(Properties gemfireProperties)
CacheFactoryBeancreateFactory in class CacheFactoryBeangemfireProperties - a Properties object containing GemFire System Properties.Properties,
CacheFactoryprotected com.gemstone.gemfire.cache.GemFireCache fetchCache()
CacheFactoryBeanfetchCache in class CacheFactoryBeanGemFireCache,
CacheFactory.getAnyInstance()protected void setPdxOptions(Object factory)
CacheFactoryBeansetPdxOptions in class CacheFactoryBeanfactory - the GemFire CacheFactory used to apply the PDX configuration settings.CacheFactory,
ClientCacheFactorypublic void setPool(com.gemstone.gemfire.cache.client.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()