public class RegionAttributesFactoryBean<K,V> extends org.apache.geode.cache.AttributesFactory<K,V> implements FactoryBean<org.apache.geode.cache.RegionAttributes>, InitializingBean
RegionAttributes
. Eliminates the need of using a XML 'factory-method' tag.FactoryBean
,
InitializingBean
,
AttributesFactory
,
RegionAttributes
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>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<org.apache.geode.cache.RegionAttributes>
public boolean isSingleton()
isSingleton
in interface FactoryBean<org.apache.geode.cache.RegionAttributes>
public void setAsyncEventQueueIds(String[] asyncEventQueueIds)
public void setIndexUpdateType(IndexMaintenancePolicyType indexUpdateType)
public void setGatewaySenderIds(String[] gatewaySenderIds)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.