org.springframework.data.gemfire
Class ReplicatedRegionFactoryBean<K,V>

java.lang.Object
  extended by org.springframework.data.gemfire.RegionLookupFactoryBean<K,V>
      extended by org.springframework.data.gemfire.RegionFactoryBean<K,V>
          extended by org.springframework.data.gemfire.ReplicatedRegionFactoryBean<K,V>
All Implemented Interfaces:
Aware, BeanNameAware, DisposableBean, FactoryBean<com.gemstone.gemfire.cache.Region<K,V>>, InitializingBean, Lifecycle, Phased, SmartLifecycle

public class ReplicatedRegionFactoryBean<K,V>
extends RegionFactoryBean<K,V>


Field Summary
 
Fields inherited from class org.springframework.data.gemfire.RegionFactoryBean
log
 
Constructor Summary
ReplicatedRegionFactoryBean()
           
 
Method Summary
protected  void resolveDataPolicy(com.gemstone.gemfire.cache.RegionFactory<K,V> regionFactory, Boolean persistent, com.gemstone.gemfire.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(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, createRegionFactory, destroy, getAttributes, getDataPolicy, getPhase, getShortcut, isAutoStartup, isNotPersistent, isPersistent, isPersistentUnspecified, isRunning, lookupFallback, mergePartitionAttributes, mergeRegionAttributes, postProcess, postProcess, setAsyncEventQueues, setAttributes, setCacheListeners, setCacheLoader, setCacheWriter, setClose, setDataPolicy, setDataPolicy, setDestroy, setDiskStoreName, setEnableGateway, setGatewaySenders, setHubId, setPersistent, setScope, setShortcut, setSnapshot, start, stop, stop
 
Methods inherited from class org.springframework.data.gemfire.RegionLookupFactoryBean
getLookupEnabled, getObject, getObjectType, getParent, getRegion, isSingleton, setBeanName, setCache, setLookupEnabled, setName, setParent, setRegionName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicatedRegionFactoryBean

public ReplicatedRegionFactoryBean()
Method Detail

resolveDataPolicy

protected void resolveDataPolicy(com.gemstone.gemfire.cache.RegionFactory<K,V> regionFactory,
                                 Boolean persistent,
                                 com.gemstone.gemfire.cache.DataPolicy dataPolicy)
Description copied from class: RegionFactoryBean
Validates and sets the Data Policy on the RegionFactory used to create and configure the Region from this FactoryBean.

Overrides:
resolveDataPolicy in class RegionFactoryBean<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:
RegionFactoryBean.resolveDataPolicy(com.gemstone.gemfire.cache.RegionFactory, Boolean, String), DataPolicy, RegionFactory

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 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:
DataPolicy, RegionFactory