public class RegionAttributesFactoryBean<K,V> extends org.apache.geode.cache.AttributesFactory<K,V> implements FactoryBean<org.apache.geode.cache.RegionAttributes<K,V>>, InitializingBean
FactoryBean
used to create RegionAttributes
.
Eliminates the need of using a XML bean 'factory-method' tag.AttributesFactory
,
RegionAttributes
,
FactoryBean
,
InitializingBean
DEFAULT_CONCURRENCY_LEVEL, DEFAULT_DISK_SYNCHRONOUS
OBJECT_TYPE_ATTRIBUTE
Constructor and Description |
---|
RegionAttributesFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.apache.geode.cache.RegionAttributes<K,V> |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setAsyncEventQueueIds(String[] asyncEventQueueIds) |
void |
setGatewaySenderIds(String[] gatewaySenderIds) |
void |
setIndexUpdateType(IndexMaintenancePolicyType indexUpdateType) |
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
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public org.apache.geode.cache.RegionAttributes<K,V> getObject() throws Exception
getObject
in interface FactoryBean<org.apache.geode.cache.RegionAttributes<K,V>>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<org.apache.geode.cache.RegionAttributes<K,V>>
public boolean isSingleton()
isSingleton
in interface FactoryBean<org.apache.geode.cache.RegionAttributes<K,V>>
public void setIndexUpdateType(@NonNull IndexMaintenancePolicyType indexUpdateType)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.