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:
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Class<?>
boolean
void
setAsyncEventQueueIds
(String[] asyncEventQueueIds) void
setGatewaySenderIds
(String[] gatewaySenderIds) void
setIndexUpdateType
(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:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getObject
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<K>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceorg.springframework.beans.factory.FactoryBean<K>
-
setAsyncEventQueueIds
-
setIndexUpdateType
-
setGatewaySenderIds
-