org.springframework.data.gemfire
Class PartitionedRegionFactoryBean<K,V>
java.lang.Object
org.springframework.data.gemfire.RegionLookupFactoryBean<K,V>
org.springframework.data.gemfire.RegionFactoryBean<K,V>
org.springframework.data.gemfire.PartitionedRegionFactoryBean<K,V>
- All Implemented Interfaces:
- Aware, BeanNameAware, DisposableBean, FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>, InitializingBean, Lifecycle, Phased, SmartLifecycle
public class PartitionedRegionFactoryBean<K,V>
- extends RegionFactoryBean<K,V>
Method Summary |
protected void |
resolveDataPolicy(com.gemstone.gemfire.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. |
Methods inherited from class org.springframework.data.gemfire.RegionFactoryBean |
afterPropertiesSet, assertDataPolicyAndPersistentAttributesAreCompatible, destroy, getPhase, isAutoStartup, isNotPersistent, isPersistent, isRunning, lookupFallback, postProcess, postProcess, setAsyncEventQueues, setAttributes, setCacheListeners, setCacheLoader, setCacheWriter, setClose, setDataPolicy, setDestroy, setDiskStoreName, setEnableGateway, setGatewaySenders, setHubId, setPersistent, setScope, setSnapshot, start, stop, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartitionedRegionFactoryBean
public PartitionedRegionFactoryBean()
resolveDataPolicy
protected void resolveDataPolicy(com.gemstone.gemfire.cache.RegionFactory<K,V> regionFactory,
Boolean persistent,
String dataPolicy)
- Description copied from class:
RegionFactoryBean
- Validates the configured Data Policy and may override it, taking into account the 'persistent' attribute
and constraints for the Region type.
- Overrides:
resolveDataPolicy
in class RegionFactoryBean<K,V>
- Parameters:
regionFactory
- the GemFire RegionFactory used to created the Local Region.persistent
- a boolean value indicating whether the Local Region should persist it's data.dataPolicy
- requested Data Policy as set by the user in the Spring GemFire configuration meta-data.- See Also:
DataPolicy
,
RegionFactory