Package org.springframework.data.gemfire
Class PartitionedRegionFactoryBean<K,V>
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<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.PartitionedRegionFactoryBean<K,V>
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,FactoryBean<Region<K,
,V>> InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
,EvictingRegionFactoryBean
,ExpiringRegionFactoryBean<K,
V>
Spring
FactoryBean
used to create an Apache Geode PARTITION Region
.- Author:
- David Turanski, John Blum
- 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
Modifier and TypeMethodDescriptionprotected void
resolveDataPolicy
(RegionFactory<K, V> regionFactory, Boolean persistent, String dataPolicy) Validates the configured Data Policy and may override it, taking into account the 'persistent' attribute and constraints for the Region type.protected void
resolveDataPolicy
(RegionFactory<K, V> regionFactory, Boolean persistent, DataPolicy dataPolicy) Validates and sets the Data Policy on the RegionFactory used to create and configure the Region from this FactoryBean.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, 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
-
PartitionedRegionFactoryBean
public PartitionedRegionFactoryBean()
-
-
Method Details
-
resolveDataPolicy
protected void resolveDataPolicy(RegionFactory<K, V> regionFactory, Boolean persistent, DataPolicy dataPolicy) Description copied from class:PeerRegionFactoryBean
Validates and sets the Data Policy on the RegionFactory used to create and configure the Region from this FactoryBean.- Overrides:
resolveDataPolicy
in classPeerRegionFactoryBean<K,
V> - Parameters:
regionFactory
- the RegionFactory used by this FactoryBean to create and configure the Region.persistent
- a boolean value indicating whether the Region should be persistent and persist it's data to disk.dataPolicy
- the configured Data Policy for the Region.- See Also:
-
resolveDataPolicy
protected void resolveDataPolicy(RegionFactory<K, V> regionFactory, Boolean persistent, String dataPolicy) Description copied from class:PeerRegionFactoryBean
Validates the configured Data Policy and may override it, taking into account the 'persistent' attribute and constraints for the Region type.- Overrides:
resolveDataPolicy
in classPeerRegionFactoryBean<K,
V> - Parameters:
regionFactory
- the GemFire RegionFactory used to create the desired Region.persistent
- a boolean value indicating whether the Region should persist it's data to disk.dataPolicy
- requested Data Policy as set by the user in the Spring GemFire configuration meta-data.- See Also:
-