public abstract class RegionFactoryTemplate extends AbstractRegionFactory
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 |
---|
RegionFactoryTemplate() |
Modifier and Type | Method and Description |
---|---|
DomainDataRegion |
buildDomainDataRegion(DomainDataRegionConfig regionConfig,
DomainDataRegionBuildingContext buildingContext)
Create a named Region for holding domain model data
|
QueryResultsRegion |
buildQueryResultsRegion(String regionName,
SessionFactoryImplementor sessionFactory) |
TimestampsRegion |
buildTimestampsRegion(String regionName,
SessionFactoryImplementor sessionFactory) |
protected DomainDataStorageAccess |
createDomainDataStorageAccess(DomainDataRegionConfig regionConfig,
DomainDataRegionBuildingContext buildingContext) |
protected abstract StorageAccess |
createQueryResultsRegionStorageAccess(String regionName,
SessionFactoryImplementor sessionFactory) |
protected abstract StorageAccess |
createTimestampsRegionStorageAccess(String regionName,
SessionFactoryImplementor sessionFactory) |
protected CacheKeysFactory |
getImplicitCacheKeysFactory() |
createTransactionContext, getDefaultAccessType, getOptions, getTimeout, isMinimalPutsEnabledByDefault, isStarted, nextTimestamp, prepareForUse, qualify, releaseFromUse, start, stop, verifiedStartStatus, verifyStarted
public DomainDataRegion buildDomainDataRegion(DomainDataRegionConfig regionConfig, DomainDataRegionBuildingContext buildingContext)
RegionFactory
regionConfig
- The user requested caching configuration for this RegionbuildingContext
- Access to delegates useful in building the Regionprotected CacheKeysFactory getImplicitCacheKeysFactory()
protected DomainDataStorageAccess createDomainDataStorageAccess(DomainDataRegionConfig regionConfig, DomainDataRegionBuildingContext buildingContext)
public QueryResultsRegion buildQueryResultsRegion(String regionName, SessionFactoryImplementor sessionFactory)
protected abstract StorageAccess createQueryResultsRegionStorageAccess(String regionName, SessionFactoryImplementor sessionFactory)
public TimestampsRegion buildTimestampsRegion(String regionName, SessionFactoryImplementor sessionFactory)
protected abstract StorageAccess createTimestampsRegionStorageAccess(String regionName, SessionFactoryImplementor sessionFactory)
Copyright © 2021 JBoss by Red Hat. All rights reserved.