Class RegionAttributesFactoryBean<K,V>

java.lang.Object
org.apache.geode.cache.AttributesFactory<K,V>
org.springframework.data.gemfire.RegionAttributesFactoryBean<K,V>
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.RegionAttributes<K,V>>, org.springframework.beans.factory.InitializingBean

public class RegionAttributesFactoryBean<K,V> extends org.apache.geode.cache.AttributesFactory<K,V> implements org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.RegionAttributes<K,V>>, org.springframework.beans.factory.InitializingBean
Spring FactoryBean used to create RegionAttributes. Eliminates the need of using a XML bean 'factory-method' tag.
See Also:
  • AttributesFactory
  • RegionAttributes
  • FactoryBean
  • InitializingBean
  • Field Summary

    Fields inherited from class org.apache.geode.cache.AttributesFactory

    DEFAULT_CONCURRENCY_LEVEL, DEFAULT_DISK_SYNCHRONOUS

    Fields inherited from interface org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.apache.geode.cache.RegionAttributes<K,V>
     
     
    boolean
     
    void
    setAsyncEventQueueIds(String[] asyncEventQueueIds)
     
    void
    setGatewaySenderIds(String[] gatewaySenderIds)
     
    void
     

    Methods inherited from class org.apache.geode.cache.AttributesFactory

    addAsyncEventQueueId, addCacheListener, addGatewaySenderId, create, createRegionAttributes, initCacheListeners, setBucketRegion, setCacheListener, setCacheLoader, setCacheWriter, setCloningEnabled, setCompressor, setConcurrencyChecksEnabled, setConcurrencyLevel, setCustomEntryIdleTimeout, setCustomEntryTimeToLive, setDataPolicy, setDiskDirs, setDiskDirsAndSizes, setDiskStoreName, setDiskSynchronous, setDiskWriteAttributes, setEarlyAck, setEnableAsyncConflation, setEnableBridgeConflation, setEnableConflation, setEnableSubscriptionConflation, setEntryIdleTimeout, setEntryTimeToLive, setEvictionAttributes, setIgnoreJTA, setIndexMaintenanceSynchronous, setInitialCapacity, setKeyConstraint, setLoadFactor, setLockGrantor, setMembershipAttributes, setMirrorType, setMulticastEnabled, setOffHeap, setPartitionAttributes, setPersistBackup, setPoolName, setPublisher, setRegionIdleTimeout, setRegionTimeToLive, setScope, setStatisticsEnabled, setSubscriptionAttributes, setValueConstraint, validateAttributes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegionAttributesFactoryBean

      public RegionAttributesFactoryBean()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • getObject

      public org.apache.geode.cache.RegionAttributes<K,V> getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<K>
      Throws:
      Exception
    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<K>
    • isSingleton

      public boolean isSingleton()
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<K>
    • setAsyncEventQueueIds

      public void setAsyncEventQueueIds(@NonNull String[] asyncEventQueueIds)
    • setIndexUpdateType

      public void setIndexUpdateType(@NonNull IndexMaintenancePolicyType indexUpdateType)
    • setGatewaySenderIds

      public void setGatewaySenderIds(@NonNull String[] gatewaySenderIds)