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_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 interfaceInitializingBean
- Throws:
Exception
-
getObject
- Specified by:
getObject
in interfaceFactoryBean<K>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceFactoryBean<K>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceFactoryBean<K>
-
setAsyncEventQueueIds
-
setIndexUpdateType
-
setGatewaySenderIds
-