public class PartitionedRegionFactoryBean<K,V> extends PeerRegionFactoryBean<K,V>
FactoryBean
used to create an Apache Geode PARTITION Region
.Region
,
RegionFactory
,
BeanFactory
CREATING_REGION_LOG_MESSAGE, REGION_FOUND_LOG_MESSAGE, REGION_NOT_FOUND_ERROR_MESSAGE
DEFAULT_SINGLETON
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
PartitionedRegionFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
resolveDataPolicy(org.apache.geode.cache.RegionFactory<K,V> regionFactory,
Boolean persistent,
org.apache.geode.cache.DataPolicy dataPolicy)
Validates and sets the Data Policy on the RegionFactory used to create and configure the Region from this
FactoryBean.
|
protected void |
resolveDataPolicy(org.apache.geode.cache.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.
|
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
afterPropertiesSet, applyRegionConfigurers, applyRegionConfigurers, applyRegionConfigurers, getCompositeRegionConfigurer, setRegionConfigurers, setRegionConfigurers
getCache, getLookupEnabled, getObject, getObjectType, getParent, getRegion, isLookupEnabled, loadSnapshot, postProcess, resolveRegionName, setCache, setLookupEnabled, setName, setParent, setRegion, setRegionName, setSnapshot
getBeanClassLoader, getBeanFactory, getBeanName, getLogger, getOptionalLogger, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLogger, setBeanClassLoader, setBeanFactory, setBeanName
protected void resolveDataPolicy(org.apache.geode.cache.RegionFactory<K,V> regionFactory, Boolean persistent, org.apache.geode.cache.DataPolicy dataPolicy)
PeerRegionFactoryBean
resolveDataPolicy
in class PeerRegionFactoryBean<K,V>
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.PeerRegionFactoryBean.resolveDataPolicy(org.apache.geode.cache.RegionFactory, Boolean, String)
,
DataPolicy
,
RegionFactory
protected void resolveDataPolicy(org.apache.geode.cache.RegionFactory<K,V> regionFactory, Boolean persistent, String dataPolicy)
PeerRegionFactoryBean
resolveDataPolicy
in class PeerRegionFactoryBean<K,V>
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.DataPolicy
,
RegionFactory
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.