Spring Data for VMware GemFire
Class ClientCacheFactoryBean
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<org.apache.geode.cache.GemFireCache>
org.springframework.data.gemfire.AbstractBasicCacheFactoryBean
org.springframework.data.gemfire.AbstractConfigurableCacheFactoryBean
org.springframework.data.gemfire.AbstractResolvableCacheFactoryBean
org.springframework.data.gemfire.CacheFactoryBean
org.springframework.data.gemfire.client.ClientCacheFactoryBean
- All Implemented Interfaces:
EventListener,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.GemFireCache>,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>,org.springframework.context.Phased,org.springframework.dao.support.PersistenceExceptionTranslator
public class ClientCacheFactoryBean
extends CacheFactoryBean
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Spring
FactoryBean used to construct, configure and initialize a ClientCache.- Since:
- 1.0.0
- See Also:
-
InetSocketAddressPropertiesGemFireCacheClientCacheClientCacheFactoryPoolSocketFactoryDistributedSystemPdxSerializerFactoryBeanApplicationContextApplicationListenerApplicationContextEventContextRefreshedEventCacheFactoryBeanPoolManagerPoolResolverClientCacheConfigurer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.springframework.data.gemfire.CacheFactoryBean
CacheFactoryBean.CacheFactoryToPdxConfigurerAdapter, CacheFactoryBean.JndiDataSourceNested classes/interfaces inherited from class org.springframework.data.gemfire.AbstractBasicCacheFactoryBean
AbstractBasicCacheFactoryBean.CacheFactoryInitializer<T>, AbstractBasicCacheFactoryBean.PdxConfigurer<T> -
Field Summary
FieldsFields inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
DEFAULT_SINGLETONFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLocators(Iterable<ConnectionEndpoint> locators) voidaddLocators(ConnectionEndpoint... locators) voidaddServers(Iterable<ConnectionEndpoint> servers) voidaddServers(ConnectionEndpoint... servers) protected voidApplies the compositeClientCacheConfigurersto thisClientCacheFactoryBeanbefore theClientCacheis created.protected voidapplyClientCacheConfigurers(Iterable<ClientCacheConfigurer> clientCacheConfigurers) Apples theIterableofClientCacheConfigurersto thisClientCacheFactoryBeanbefore theClientCacheis created.protected voidapplyClientCacheConfigurers(ClientCacheConfigurer... clientCacheConfigurers) Applies the array ofClientCacheConfigurersto thisClientCacheFactoryBeanbefore theClientCacheis created.protected voidclose(org.apache.geode.cache.GemFireCache cache) Null-safe method used toRegionService.close()theClientCacheand preserve durability.protected ObjectconfigureFactory(Object factory) Configures theClientCacheFactoryused to create theClientCache.protected org.apache.geode.cache.client.ClientCacheFactoryconfigurePdx(org.apache.geode.cache.client.ClientCacheFactory clientCacheFactory) Configures theClientCacheto use PDX serialization.protected org.apache.geode.cache.client.ClientCacheFactoryconfigurePool(org.apache.geode.cache.client.ClientCacheFactory clientCacheFactory) Configure the DEFAULTPoolof theClientCacheFactoryusing a givenPoolinstance or a namedPoolinstance.protected <T extends org.apache.geode.cache.GemFireCache>
TcreateCache(Object factory) Creates a newClientCacheinstance using the providedfactory.protected ObjectcreateFactory(Properties gemfireProperties) Constructs a new instance ofClientCacheFactoryinitialized with the given Apache GeodePropertiesused to construct, configure and initialize a newClientCacheinstance.protected <T extends org.apache.geode.cache.GemFireCache>
TFetches an existingClientCacheinstance from theClientCacheFactory.protected Class<? extends org.apache.geode.cache.GemFireCache>Returns a reference to the CompositeClientCacheConfigurerused to apply additional configuration to thisClientCacheFactoryBeanon Spring container initialization.Gets the value of the GemFire System property 'durable-client-id' indicating to the server whether this client is durable.Get the value of the GemFire System property 'durable-client-timeout' indicating to the server how long to track events for the durable client when disconnected.final BooleanGets the value for the auto-reconnect setting.Gets the user specified value for whether the server(s) should keep the durable client's queue alive for the duration of the timeout when the client voluntarily disconnects.protected ConnectionEndpointListorg.apache.geode.cache.client.PoolgetPool()Gets thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.Gets thenameof thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.Gets the user-configured value for deciding that this client is ready to receive events from the server(s).protected ConnectionEndpointListorg.apache.geode.cache.client.SocketFactoryfinal BooleanReturn the state of the use-shared-configuration Pivotal GemFire/Apache Geode distribution configuration setting.booleanDetermines whether the server(s) should keep the durable client's queue alive for the duration of the timeout when the client voluntarily disconnects.booleanDetermines whether this GemFire cache client is ready for events.voidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) Inform the Apache Geode cluster of servers that thisClientCacheis ready to receive events and updates iff the client is durable.protected org.apache.geode.cache.client.PoolResolves thePoolused to configure theClientCache, DEFAULTPool.protected PropertiesResolves the Apache GeodePropertiesused to configure theClientCache.voidsetClientCacheConfigurers(List<ClientCacheConfigurer> clientCacheConfigurers) Null-safe operation to set anListofClientCacheConfigurersto apply additional configuration to thisClientCacheFactoryBeanwhen using Annotation-based configuration.voidsetClientCacheConfigurers(ClientCacheConfigurer... clientCacheConfigurers) Null-safe operation to set an array ofClientCacheConfigurersused to apply additional configuration to thisClientCacheFactoryBeanwhen using Annotation-based configuration.voidsetDurableClientId(String durableClientId) Set the GemFire System property 'durable-client-id' to indicate to the server that this client is durable.voidsetDurableClientTimeout(Integer durableClientTimeout) Set the GemFire System property 'durable-client-timeout' indicating to the server how long to track events for the durable client when disconnected.final voidsetEnableAutoReconnect(Boolean enableAutoReconnect) Controls whether auto-reconnect functionality introduced in GemFire 8 is enabled or not.voidsetFreeConnectionTimeout(Integer freeConnectionTimeout) voidsetIdleTimeout(Long idleTimeout) voidsetKeepAlive(Boolean keepAlive) Sets whether the server(s) should keep the durable client's queue alive for the duration of the timeout when the client voluntarily disconnects.voidsetLoadConditioningInterval(Integer loadConditioningInterval) voidsetLocators(Iterable<ConnectionEndpoint> locators) voidsetLocators(ConnectionEndpoint[] locators) voidsetMaxConnections(Integer maxConnections) voidsetMinConnections(Integer minConnections) voidsetMultiUserAuthentication(Boolean multiUserAuthentication) voidsetPingInterval(Long pingInterval) voidsetPool(org.apache.geode.cache.client.Pool pool) Sets thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.voidsetPoolName(String poolName) Sets thenameof thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.voidsetPoolResolver(PoolResolver poolResolver) voidsetPrSingleHopEnabled(Boolean prSingleHopEnabled) voidsetReadTimeout(Integer readTimeout) voidsetReadyForEvents(Boolean readyForEvents) Sets the readyForEvents property to indicate whether the cache client should notify the server that it is ready to receive updates.voidsetRetryAttempts(Integer retryAttempts) voidsetServerConnectionTimeout(Integer serverConnectionTimeout) voidsetServerGroup(String serverGroup) voidsetServers(Iterable<ConnectionEndpoint> servers) voidsetServers(ConnectionEndpoint[] servers) voidsetSocketBufferSize(Integer socketBufferSize) voidsetSocketConnectTimeout(Integer socketConnectTimeout) voidsetSocketFactory(org.apache.geode.cache.client.SocketFactory socketFactory) voidsetStatisticsInterval(Integer statisticsInterval) voidsetSubscriptionAckInterval(Integer subscriptionAckInterval) voidsetSubscriptionEnabled(Boolean subscriptionEnabled) voidsetSubscriptionMessageTrackingTimeout(Integer subscriptionMessageTrackingTimeout) voidsetSubscriptionRedundancy(Integer subscriptionRedundancy) voidsetThreadLocalConnections(Boolean threadLocalConnections) final voidsetUseClusterConfiguration(Boolean useClusterConfiguration) Sets the state of the use-shared-configuration Pivotal GemFire/Apache Geode distribution configuration setting.Methods inherited from class org.springframework.data.gemfire.CacheFactoryBean
applyPeerCacheConfigurers, applyPeerCacheConfigurers, configurePdx, configureSecurity, getCompositePeerCacheConfigurer, getGatewayConflictResolver, getJndiDataSources, getLockLease, getLockTimeout, getMessageSyncInterval, getSearchTimeout, getSecurityManager, getUseUDPMembershipMessenger, postProcess, setGatewayConflictResolver, setJndiDataSources, setLockLease, setLockTimeout, setMessageSyncInterval, setPeerCacheConfigurers, setPeerCacheConfigurers, setSearchTimeout, setSecurityManager, setUseUDPMembershipMessengerMethods inherited from class org.springframework.data.gemfire.AbstractResolvableCacheFactoryBean
doGetObject, init, initializeFactory, postProcess, resolveCacheMethods inherited from class org.springframework.data.gemfire.AbstractConfigurableCacheFactoryBean
afterPropertiesSet, destroy, getBeanFactoryLocator, getCacheXml, getOptionalBeanFactoryLocator, getOptionalCacheXml, getProperties, isCacheXmlPresent, isCacheXmlResolvableAsAFile, isUseBeanFactoryLocator, loadCacheXml, setAndGetProperties, setBeanFactoryLocator, setCacheXml, setProperties, setUseBeanFactoryLocatorMethods inherited from class org.springframework.data.gemfire.AbstractBasicCacheFactoryBean
configureHeapPercentages, configureOffHeapPercentages, configurePdx, fetchCache, getCache, getCacheFactoryInitializer, getCopyOnRead, getCriticalHeapPercentage, getCriticalOffHeapPercentage, getEvictionHeapPercentage, getEvictionOffHeapPercentage, getObject, getObjectType, getOptionalCache, getPdxDiskStoreName, getPdxIgnoreUnreadFields, getPdxPersistent, getPdxReadSerialized, getPdxSerializer, getPhase, getTransactionListeners, getTransactionWriter, isClose, isCopyOnRead, isNotClosed, registerTransactionListeners, registerTransactionWriter, setCache, setCacheFactoryInitializer, setClose, setCopyOnRead, setCriticalHeapPercentage, setCriticalOffHeapPercentage, setEvictionHeapPercentage, setEvictionOffHeapPercentage, setPdxDiskStoreName, setPdxIgnoreUnreadFields, setPdxPersistent, setPdxReadSerialized, setPdxSerializer, setPhase, setTransactionListeners, setTransactionWriter, translateExceptionIfPossibleMethods inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
getBeanClassLoader, getBeanFactory, getBeanName, getLogger, getOptionalLogger, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLogger, setBeanClassLoader, setBeanFactory, setBeanName
-
Field Details
-
DEFAULT_POOL_RESOLVER
-
-
Constructor Details
-
ClientCacheFactoryBean
public ClientCacheFactoryBean()
-
-
Method Details
-
applyCacheConfigurers
protected void applyCacheConfigurers()Applies the compositeClientCacheConfigurersto thisClientCacheFactoryBeanbefore theClientCacheis created.- Overrides:
applyCacheConfigurersin classCacheFactoryBean- See Also:
-
applyClientCacheConfigurers
Applies the array ofClientCacheConfigurersto thisClientCacheFactoryBeanbefore theClientCacheis created.- Parameters:
clientCacheConfigurers- array ofClientCacheConfigurersapplied to thisClientCacheFactoryBean.- See Also:
-
applyClientCacheConfigurers
Apples theIterableofClientCacheConfigurersto thisClientCacheFactoryBeanbefore theClientCacheis created.- Parameters:
clientCacheConfigurers-IterableofClientCacheConfigurersapplied to thisClientCacheFactoryBean.- See Also:
-
doFetchCache
protected <T extends org.apache.geode.cache.GemFireCache> T doFetchCache()Fetches an existingClientCacheinstance from theClientCacheFactory.- Overrides:
doFetchCachein classCacheFactoryBean- Type Parameters:
T- parameterizedClasstype extension ofGemFireCache.- Returns:
- an existing
ClientCacheinstance if available. - Throws:
org.apache.geode.cache.CacheClosedException- if an existingClientCacheinstance does not exist.- See Also:
-
ClientCacheFactory.getAnyInstance()GemFireCacheAbstractBasicCacheFactoryBean.getCache()
-
doGetObjectType
Returns thetypeofGemFireCacheconstructed by thisClientCacheFactoryBean. ReturnsClientCacheClass.- Overrides:
doGetObjectTypein classCacheFactoryBean- Returns:
- the
typeofGemFireCacheconstructed by thisClientCacheFactoryBean. - See Also:
-
FactoryBean.getObjectType()
-
resolveProperties
Resolves the Apache GeodePropertiesused to configure theClientCache.- Overrides:
resolvePropertiesin classAbstractConfigurableCacheFactoryBean- Returns:
- the resolved Apache Geode
Propertiesused to configure theClientCache. - See Also:
-
DistributedSystem.getProperties()
-
createFactory
Constructs a new instance ofClientCacheFactoryinitialized with the given Apache GeodePropertiesused to construct, configure and initialize a newClientCacheinstance.- Overrides:
createFactoryin classCacheFactoryBean- Parameters:
gemfireProperties-Propertiesused by theClientCacheFactoryto configure theClientCache.- Returns:
- a new instance of
ClientCacheFactoryinitialized with the given Apache GeodeProperties. - See Also:
-
ClientCacheFactoryProperties
-
configureFactory
Configures theClientCacheFactoryused to create theClientCache.- Overrides:
configureFactoryin classCacheFactoryBean- Parameters:
factory-ClientCacheFactoryused to create theClientCache.- Returns:
- the configured
ClientCacheFactory. - See Also:
-
configurePdx
@NonNull protected org.apache.geode.cache.client.ClientCacheFactory configurePdx(@NonNull org.apache.geode.cache.client.ClientCacheFactory clientCacheFactory) Configures theClientCacheto use PDX serialization.- Parameters:
clientCacheFactory-ClientCacheFactoryto configure with PDX.- Returns:
- the given
ClientCacheFactory. - See Also:
-
configurePool
@NonNull protected org.apache.geode.cache.client.ClientCacheFactory configurePool(@NonNull org.apache.geode.cache.client.ClientCacheFactory clientCacheFactory) Configure the DEFAULTPoolof theClientCacheFactoryusing a givenPoolinstance or a namedPoolinstance.- Parameters:
clientCacheFactory-ClientCacheFactoryused to configure the DEFAULTPool.- See Also:
-
ClientCacheFactoryPool
-
resolvePool
@Nullable protected org.apache.geode.cache.client.Pool resolvePool()Resolves thePoolused to configure theClientCache, DEFAULTPool.- Returns:
- the resolved
Poolused to configure theClientCache, DEFAULTPool. - See Also:
-
PoolManager.find(String)PoolgetPoolName()getPool()findPool(String)isPoolNameResolvable(String)
-
createCache
@NonNull protected <T extends org.apache.geode.cache.GemFireCache> T createCache(@NonNull Object factory) Creates a newClientCacheinstance using the providedfactory.- Overrides:
createCachein classCacheFactoryBean- Type Parameters:
T- parameterizedClasstype extendingGemFireCache.- Parameters:
factory- instance ofClientCacheFactory.- Returns:
- a new instance of
ClientCachecreated by the provided factory. - See Also:
-
ClientCacheFactory.create()ClientCacheGemFireCache
-
onApplicationEvent
public void onApplicationEvent(@NonNull org.springframework.context.event.ContextRefreshedEvent event) Inform the Apache Geode cluster of servers that thisClientCacheis ready to receive events and updates iff the client is durable.- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>- Parameters:
event-ApplicationContextEventfired when theApplicationContextis refreshed.- See Also:
-
ClientCache.readyForEvents()isReadyForEvents()AbstractBasicCacheFactoryBean.fetchCache()
-
close
protected void close(@NonNull org.apache.geode.cache.GemFireCache cache) Null-safe method used toRegionService.close()theClientCacheand preserve durability.- Overrides:
closein classAbstractBasicCacheFactoryBean- Parameters:
cache-GemFireCacheto close.- See Also:
-
ClientCache.close(boolean)isKeepAlive()
-
addLocators
-
addLocators
-
addServers
-
addServers
-
setClientCacheConfigurers
Null-safe operation to set an array ofClientCacheConfigurersused to apply additional configuration to thisClientCacheFactoryBeanwhen using Annotation-based configuration.- Parameters:
clientCacheConfigurers- array ofClientCacheConfigurersused to apply additional configuration to thisClientCacheFactoryBean.- See Also:
-
setClientCacheConfigurers
Null-safe operation to set anListofClientCacheConfigurersto apply additional configuration to thisClientCacheFactoryBeanwhen using Annotation-based configuration.- Parameters:
clientCacheConfigurers-ListofClientCacheConfigurersused to apply additional configuration to thisClientCacheFactoryBean.- See Also:
-
getCompositeClientCacheConfigurer
Returns a reference to the CompositeClientCacheConfigurerused to apply additional configuration to thisClientCacheFactoryBeanon Spring container initialization.- Returns:
- the Composite
ClientCacheConfigurer. - See Also:
-
setDurableClientId
Set the GemFire System property 'durable-client-id' to indicate to the server that this client is durable.- Parameters:
durableClientId- a String value indicating the durable client id.
-
getDurableClientId
Gets the value of the GemFire System property 'durable-client-id' indicating to the server whether this client is durable.- Returns:
- a String value indicating the durable client id.
-
setDurableClientTimeout
Set the GemFire System property 'durable-client-timeout' indicating to the server how long to track events for the durable client when disconnected.- Parameters:
durableClientTimeout- an Integer value indicating the timeout in seconds for the server to keep the durable client's queue around.
-
getDurableClientTimeout
Get the value of the GemFire System property 'durable-client-timeout' indicating to the server how long to track events for the durable client when disconnected.- Returns:
- an Integer value indicating the timeout in seconds for the server to keep the durable client's queue around.
-
setEnableAutoReconnect
Description copied from class:CacheFactoryBeanControls whether auto-reconnect functionality introduced in GemFire 8 is enabled or not.- Overrides:
setEnableAutoReconnectin classCacheFactoryBean- Parameters:
enableAutoReconnect- a boolean value to enable/disable auto-reconnect functionality.
-
getEnableAutoReconnect
Description copied from class:CacheFactoryBeanGets the value for the auto-reconnect setting.- Overrides:
getEnableAutoReconnectin classCacheFactoryBean- Returns:
- a boolean value indicating whether auto-reconnect was specified (non-null) and whether it was enabled or not.
-
setFreeConnectionTimeout
-
getFreeConnectionTimeout
-
setIdleTimeout
-
getIdleTimeout
-
setKeepAlive
Sets whether the server(s) should keep the durable client's queue alive for the duration of the timeout when the client voluntarily disconnects.- Parameters:
keepAlive- a boolean value indicating to the server to keep the durable client's queues alive.
-
getKeepAlive
Gets the user specified value for whether the server(s) should keep the durable client's queue alive for the duration of the timeout when the client voluntarily disconnects.- Returns:
- a boolean value indicating whether the server should keep the durable client's queues alive.
-
isKeepAlive
public boolean isKeepAlive()Determines whether the server(s) should keep the durable client's queue alive for the duration of the timeout when the client voluntarily disconnects.- Returns:
- a boolean value indicating whether the server should keep the durable client's queues alive.
-
setLoadConditioningInterval
-
getLoadConditioningInterval
-
setLocators
-
setLocators
-
getLocators
-
setMaxConnections
-
getMaxConnections
-
setMinConnections
-
getMinConnections
-
setMultiUserAuthentication
-
getMultiUserAuthentication
-
setPool
public void setPool(@Nullable org.apache.geode.cache.client.Pool pool) Sets thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.- Parameters:
pool-Poolused by thisClientCacheto obtain connections to the Apache Geode cluster.- See Also:
-
Pool
-
getPool
@Nullable public org.apache.geode.cache.client.Pool getPool()Gets thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.- Returns:
Poolused by thisClientCacheto obtain connections to the Apache Geode cluster.- See Also:
-
Pool
-
setPoolName
Sets thenameof thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.- Parameters:
poolName-nameof thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.
-
getPoolName
Gets thenameof thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.- Returns:
nameof thePoolused by thisClientCacheto obtain connections to the Apache Geode cluster.
-
setPoolResolver
Sets (configures) thePoolResolverused by thisClientCacheto resolvePoolobjects. ThePoolobjects may be managed or un-managed depending on thePoolResolverimplementation.- Parameters:
poolResolver-PoolResolverused to resolve the configuredPool.- See Also:
-
getPoolResolver
- Returns:
- the configured
PoolResolver. If noPoolResolverwas configured, then return the default,PoolManagerPoolResolver. - See Also:
-
setPingInterval
-
getPingInterval
-
setPrSingleHopEnabled
-
getPrSingleHopEnabled
-
setReadTimeout
-
getReadTimeout
-
setReadyForEvents
Sets the readyForEvents property to indicate whether the cache client should notify the server that it is ready to receive updates.- Parameters:
readyForEvents- sets a boolean flag to notify the server that this durable client is ready to receive updates.- See Also:
-
getReadyForEvents
Gets the user-configured value for deciding that this client is ready to receive events from the server(s).- Returns:
- a
Booleanindicating whether this client is ready to receive events from the server(s).
-
isReadyForEvents
public boolean isReadyForEvents()Determines whether this GemFire cache client is ready for events. If 'readyForEvents' was explicitly set, then it takes precedence over all other considerations (e.g. durability).- Returns:
- a boolean value indicating whether this GemFire cache client is ready for events.
- See Also:
-
setRetryAttempts
-
getRetryAttempts
-
setServerConnectionTimeout
-
getServerConnectionTimeout
-
setServerGroup
-
getServerGroup
-
setServers
-
setServers
-
getServers
-
setSocketBufferSize
-
getSocketBufferSize
-
setSocketConnectTimeout
-
getSocketConnectTimeout
-
setSocketFactory
public void setSocketFactory(@Nullable org.apache.geode.cache.client.SocketFactory socketFactory) -
getSocketFactory
@NonNull public org.apache.geode.cache.client.SocketFactory getSocketFactory() -
setStatisticsInterval
-
getStatisticsInterval
-
setSubscriptionAckInterval
-
getSubscriptionAckInterval
-
setSubscriptionEnabled
-
getSubscriptionEnabled
-
setSubscriptionMessageTrackingTimeout
-
getSubscriptionMessageTrackingTimeout
-
setSubscriptionRedundancy
-
getSubscriptionRedundancy
-
setThreadLocalConnections
-
getThreadLocalConnections
-
setUseClusterConfiguration
Description copied from class:CacheFactoryBeanSets the state of the use-shared-configuration Pivotal GemFire/Apache Geode distribution configuration setting.- Overrides:
setUseClusterConfigurationin classCacheFactoryBean- Parameters:
useClusterConfiguration- boolean value to set the use-shared-configuration Pivotal GemFire/Apache Geode distribution configuration setting.
-
getUseClusterConfiguration
Description copied from class:CacheFactoryBeanReturn the state of the use-shared-configuration Pivotal GemFire/Apache Geode distribution configuration setting.- Overrides:
getUseClusterConfigurationin classCacheFactoryBean- Returns:
- the current boolean value for the use-shared-configuration Pivotal GemFire/Apache Geode distribution configuration setting.
-