Package org.springframework.data.gemfire
Class GenericRegionFactoryBean<K,V>
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<org.apache.geode.cache.Region<K,V>>
org.springframework.data.gemfire.ResolvableRegionFactoryBean<K,V>
org.springframework.data.gemfire.ConfigurableRegionFactoryBean<K,V>
org.springframework.data.gemfire.PeerRegionFactoryBean<K,V>
org.springframework.data.gemfire.GenericRegionFactoryBean<K,V>
- All Implemented Interfaces:
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.Region<K,
,V>> org.springframework.beans.factory.InitializingBean
,org.springframework.context.Lifecycle
,org.springframework.context.Phased
,org.springframework.context.SmartLifecycle
,EvictingRegionFactoryBean
,ExpiringRegionFactoryBean<K,
V>
The GenericRegionFactoryBean class is an extension of the abstract, base PeerRegionFactoryBean class enabling developers
to define a GemFire Cache Region with defaults.
The defaults for DataPolicy is NORMAL and Scope is DISTRIBUTED_NO_ACK, effectively creating a "non-replicate",
Distributed Region.
This class enables developers to create various non-strongly-typed Regions (e.g. PARTITION, REPLICATE) based on
various combinations of the DataPolicy, Scope and Subscription settings as defined in the Region Types section
of the GemFire User Guide (see link below). How GemFire Regions receive and distribute entry updates
is defined in the Storage and Distribution Options section.
Note, it is generally better to define strong-typed Regions (e.g. PARTITION with PartitionedRegionFactoryBean)
in your applications. However, different forms of distribution patterns and updates are desired
in certain use cases.
- See Also:
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.ResolvableRegionFactoryBean
CREATING_REGION_LOG_MESSAGE, REGION_FOUND_LOG_MESSAGE, REGION_NOT_FOUND_ERROR_MESSAGE
Fields inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
DEFAULT_SINGLETON
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.springframework.data.gemfire.PeerRegionFactoryBean
addAsyncEventQueueIds, addAsyncEventQueues, addGatewaySenders, addGatewaySendersIds, configure, createRegion, createRegionFactory, destroy, getAttributes, getDataPolicy, getOffHeap, getPhase, getScope, getShortcut, getStatisticsEnabled, isAutoStartup, isNotPersistent, isOffHeap, isPersistent, isRunning, isStatisticsEnabled, mergePartitionAttributes, mergeRegionAttributes, postProcess, resolveDataPolicy, resolveDataPolicy, resolveStatisticsEnabled, setAsyncEventQueueIds, setAsyncEventQueues, setAttributes, setCacheListeners, setCacheLoader, setCacheWriter, setClose, setCompressor, setCustomEntryIdleTimeout, setCustomEntryTimeToLive, setDataPolicy, setDestroy, setDiskStoreName, setEntryIdleTimeout, setEntryTimeToLive, setEvictionAttributes, setGatewaySenderIds, setGatewaySenders, setKeyConstraint, setOffHeap, setPersistent, setRegionIdleTimeout, setRegionTimeToLive, setScope, setShortcut, setStatisticsEnabled, setValueConstraint, start, stop, stop
Methods inherited from class org.springframework.data.gemfire.ConfigurableRegionFactoryBean
afterPropertiesSet, applyRegionConfigurers, applyRegionConfigurers, applyRegionConfigurers, getCompositeRegionConfigurer, setRegionConfigurers, setRegionConfigurers
Methods inherited from class org.springframework.data.gemfire.ResolvableRegionFactoryBean
getCache, getLookupEnabled, getObject, getObjectType, getParent, getRegion, isLookupEnabled, loadSnapshot, postProcess, resolveRegionName, setCache, setLookupEnabled, setName, setParent, setRegion, setRegionName, setSnapshot
Methods 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
-
Constructor Details
-
GenericRegionFactoryBean
public GenericRegionFactoryBean()
-