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:
FactoryBean<RegionAttributes<K,,V>> InitializingBean
public class RegionAttributesFactoryBean<K,V>
extends AttributesFactory<K,V>
implements FactoryBean<RegionAttributes<K,V>>, InitializingBean
Spring
FactoryBean used to create RegionAttributes.
Eliminates the need of using a XML bean 'factory-method' tag.- Author:
- Costin Leau, John Blum
- See Also:
-
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 interfaceInitializingBean- Throws:
Exception
-
getObject
- Specified by:
getObjectin interfaceFactoryBean<K>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceFactoryBean<K>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceFactoryBean<K>
-
setAsyncEventQueueIds
-
setIndexUpdateType
-
setGatewaySenderIds
-