public class LocalRegionFactoryBean<K,V> extends RegionFactoryBean<K,V>
log
DEFAULT_SINGLETON
Constructor and Description |
---|
LocalRegionFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes this
RegionLookupFactoryBean after properties have been set by the Spring container. |
protected void |
resolveDataPolicy(org.apache.geode.cache.RegionFactory<K,V> regionFactory,
Boolean persistent,
org.apache.geode.cache.DataPolicy dataPolicy)
=======
>>>>>>> c22ebe6...
|
protected void |
resolveDataPolicy(org.apache.geode.cache.RegionFactory<K,V> regionFactory,
Boolean persistent,
String dataPolicy)
Resolves the Data Policy used by this "local" GemFire Region (i.e. locally Scoped; Scope.LOCAL) based on the
enumerated value from org.apache.geode.cache.RegionShortcuts (LOCAL, LOCAL_PERSISTENT, LOCAL_HEAP_LRU,
LOCAL_OVERFLOW, and LOCAL_PERSISTENT_OVERFLOW), but without consideration of the Eviction settings.
|
void |
setScope(org.apache.geode.cache.Scope scope)
Sets the region scope.
|
applyRegionConfigurers, applyRegionConfigurers, assertDataPolicyAndPersistentAttributesAreCompatible, configure, createRegion, createRegionFactory, destroy, getAttributes, getCompositeRegionConfigurer, getDataPolicy, getOffHeap, getPhase, getScope, getShortcut, isAutoStartup, isNotPersistent, isOffHeap, isPersistent, isPersistentUnspecified, isRunning, mergePartitionAttributes, mergeRegionAttributes, postProcess, setAsyncEventQueues, setAttributes, setCacheListeners, setCacheLoader, setCacheWriter, setClose, setDataPolicy, setDataPolicy, setDestroy, setDiskStoreName, setEvictionAttributes, setGatewaySenders, setKeyConstraint, setOffHeap, setPersistent, setRegionConfigurers, setRegionConfigurers, setShortcut, setValueConstraint, start, stop, stop
getCache, getLookupEnabled, getObject, getObjectType, getParent, getRegion, loadSnapshot, postProcess, resolveRegionName, setCache, setLookupEnabled, setName, setParent, setRegion, setRegionName, setSnapshot
getBeanClassLoader, getBeanFactory, getBeanName, getLog, isSingleton, logDebug, logDebug, logInfo, logInfo, newLog, setBeanClassLoader, setBeanFactory, setBeanName
public void setScope(org.apache.geode.cache.Scope scope)
RegionFactoryBean
RegionFactoryBean.setAttributes(RegionAttributes)
.setScope
in class RegionFactoryBean<K,V>
scope
- the region scopeScope
public void afterPropertiesSet() throws Exception
RegionLookupFactoryBean
RegionLookupFactoryBean
after properties have been set by the Spring container.afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class RegionLookupFactoryBean<K,V>
Exception
- if initialization fails.InitializingBean.afterPropertiesSet()
,
RegionLookupFactoryBean.createRegion(GemFireCache, String)
protected void resolveDataPolicy(org.apache.geode.cache.RegionFactory<K,V> regionFactory, Boolean persistent, org.apache.geode.cache.DataPolicy dataPolicy)
RegionFactoryBean
resolveDataPolicy
in class RegionFactoryBean<K,V>
regionFactory
- the RegionFactory used by this FactoryBean to create and configure the Region.persistent
- a boolean value indicating whether the Region should be persistent and persist it's
data to disk.dataPolicy
- the configured Data Policy for the Region.RegionFactoryBean.resolveDataPolicy(org.apache.geode.cache.RegionFactory, Boolean, String)
,
DataPolicy
,
RegionFactory
protected void resolveDataPolicy(org.apache.geode.cache.RegionFactory<K,V> regionFactory, Boolean persistent, String dataPolicy)
resolveDataPolicy
in class RegionFactoryBean<K,V>
regionFactory
- the GemFire RegionFactory used to created the Local Region.persistent
- a boolean value indicating whether the Local Region should persist it's data.dataPolicy
- requested Data Policy as set by the user in the Spring GemFire configuration meta-data.DataPolicy
,
RegionFactory
,
RegionShortcut
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.