Class ReplicatedRegionFactoryBean<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>

public class ReplicatedRegionFactoryBean<K,V> extends PeerRegionFactoryBean<K,V>
  • Constructor Details

    • ReplicatedRegionFactoryBean

      public ReplicatedRegionFactoryBean()
  • Method Details

    • resolveDataPolicy

      protected void resolveDataPolicy(org.apache.geode.cache.RegionFactory<K,V> regionFactory, Boolean persistent, org.apache.geode.cache.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 class PeerRegionFactoryBean<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(org.apache.geode.cache.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 class PeerRegionFactoryBean<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