public class CachingRegionFactory extends RegionFactoryTemplate
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ACCESSTYPE |
LEGACY_QUERY_RESULTS_REGION_UNQUALIFIED_NAMES, LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMES
DEFAULT_QUERY_RESULTS_REGION_UNQUALIFIED_NAME, DEFAULT_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAME
Constructor and Description |
---|
CachingRegionFactory() |
CachingRegionFactory(CacheKeysFactory cacheKeysFactory) |
CachingRegionFactory(CacheKeysFactory cacheKeysFactory,
Properties properties) |
CachingRegionFactory(Properties properties) |
Modifier and Type | Method and Description |
---|---|
DomainDataRegion |
buildDomainDataRegion(DomainDataRegionConfig regionConfig,
DomainDataRegionBuildingContext buildingContext)
Create a named Region for holding domain model data
|
protected StorageAccess |
createQueryResultsRegionStorageAccess(String regionName,
SessionFactoryImplementor sessionFactory) |
protected StorageAccess |
createTimestampsRegionStorageAccess(String regionName,
SessionFactoryImplementor sessionFactory) |
protected void |
prepareForUse(SessionFactoryOptions settings,
Map configValues) |
protected void |
releaseFromUse() |
buildQueryResultsRegion, buildTimestampsRegion, createDomainDataStorageAccess, getImplicitCacheKeysFactory
createTransactionContext, getDefaultAccessType, getOptions, getTimeout, isMinimalPutsEnabledByDefault, isStarted, nextTimestamp, qualify, start, stop, verifiedStartStatus, verifyStarted
public static String DEFAULT_ACCESSTYPE
public CachingRegionFactory()
public CachingRegionFactory(CacheKeysFactory cacheKeysFactory)
public CachingRegionFactory(Properties properties)
public CachingRegionFactory(CacheKeysFactory cacheKeysFactory, Properties properties)
protected void prepareForUse(SessionFactoryOptions settings, Map configValues)
prepareForUse
in class AbstractRegionFactory
public DomainDataRegion buildDomainDataRegion(DomainDataRegionConfig regionConfig, DomainDataRegionBuildingContext buildingContext)
RegionFactory
buildDomainDataRegion
in interface RegionFactory
buildDomainDataRegion
in class RegionFactoryTemplate
regionConfig
- The user requested caching configuration for this RegionbuildingContext
- Access to delegates useful in building the Regionprotected StorageAccess createQueryResultsRegionStorageAccess(String regionName, SessionFactoryImplementor sessionFactory)
createQueryResultsRegionStorageAccess
in class RegionFactoryTemplate
protected StorageAccess createTimestampsRegionStorageAccess(String regionName, SessionFactoryImplementor sessionFactory)
createTimestampsRegionStorageAccess
in class RegionFactoryTemplate
protected void releaseFromUse()
releaseFromUse
in class AbstractRegionFactory
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.