Spring Data for VMware GemFire
Package org.springframework.data.gemfire
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:
-
AttributesFactoryRegionAttributesFactoryBeanInitializingBean
-
Field Summary
Fields inherited from class org.apache.geode.cache.AttributesFactory
DEFAULT_CONCURRENCY_LEVEL, DEFAULT_DISK_SYNCHRONOUSFields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidClass<?>booleanvoidsetAsyncEventQueueIds(String[] asyncEventQueueIds) voidsetGatewaySenderIds(String[] gatewaySenderIds) voidsetIndexUpdateType(IndexMaintenancePolicyType indexUpdateType) 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
-
Constructor Details
-
RegionAttributesFactoryBean
public RegionAttributesFactoryBean()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getObject
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<K>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<K>
-
setAsyncEventQueueIds
-
setIndexUpdateType
-
setGatewaySenderIds
-