| Modifier and Type | Class and Description |
|---|---|
| public static interface | AbstractDomainDataRegion.Destructible
Optional interface caching implementors can implement in their CachedDomainDataAccess impls to automatically have them destroyed when this region is destroyed |
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private final CacheKeysFactory | |
| private Map | |
| private static final Logger | |
| private Map | |
| private final SessionFactoryImplementor | sessionFactory
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | AbstractDomainDataRegion(DomainDataRegionConfig regionConfig, RegionFactory regionFactory, CacheKeysFactory defaultKeysFactory, DomainDataRegionBuildingContext buildingContext)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected void | completeInstantiation(DomainDataRegionConfig regionConfig, DomainDataRegionBuildingContext buildingContext)
Should be called at the end of the subtype's constructor, or at least after the `#super(...)` (aka, this type's constructor) call. |
| public void | destroy()
Implements org. |
| protected abstract CollectionDataAccess | |
| private Map | |
| protected abstract EntityDataAccess | |
| private Map | |
| protected abstract NaturalIdDataAccess | |
| private Map | |
| public CollectionDataAccess | getCollectionDataAccess(NavigableRole
The NavigableRole of the collection whose data
we want to access collectionRole)Implements org. |
| public CacheKeysFactory | |
| public EntityDataAccess | getEntityDataAccess(NavigableRole
The root entity name for the hierarchy whose data
we want to access rootEntityRole)Implements org. |
| public NaturalIdDataAccess | getNaturalIdDataAccess(NavigableRole
The NavigableRole of the root entity whose
natural-id data we want to access rootEntityRole)Implements org. |
| public SessionFactoryImplementor | |
| protected void | |
| protected void | |
| protected void |
| collectionDataAccessMap | back to summary |
|---|---|
| private Map<NavigableRole, CollectionDataAccess> collectionDataAccessMap | |
| effectiveKeysFactory | back to summary |
|---|---|
| private final CacheKeysFactory effectiveKeysFactory | |
| entityDataAccessMap | back to summary |
|---|---|
| private Map<NavigableRole, EntityDataAccess> entityDataAccessMap | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| naturalIdDataAccessMap | back to summary |
|---|---|
| private Map<NavigableRole, NaturalIdDataAccess> naturalIdDataAccessMap | |
| sessionFactory | back to summary |
|---|---|
| private final SessionFactoryImplementor sessionFactory
Deprecated as a consequence of | |
| AbstractDomainDataRegion | back to summary |
|---|---|
| public AbstractDomainDataRegion(DomainDataRegionConfig regionConfig, RegionFactory regionFactory, CacheKeysFactory defaultKeysFactory, DomainDataRegionBuildingContext buildingContext) | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. Clear all data cached in the region
| |
| completeInstantiation | back to summary |
|---|---|
| protected void completeInstantiation(DomainDataRegionConfig regionConfig, DomainDataRegionBuildingContext buildingContext) Should be called at the end of the subtype's constructor, or at least after the `#super(...)` (aka, this type's constructor) call. It's a timing issue - we need access to the DomainDataStorageAccess in DomainDataRegionTemplate but in methods initiated (atm) from AbstractDomainDataRegion's constructor | |
| destroy | back to summary |
|---|---|
| public void destroy() throws CacheException Implements org. Doc from org. The "end state" contract of the region's lifecycle. Called
during
| |
| generateCollectionAccess | back to summary |
|---|---|
| protected abstract CollectionDataAccess generateCollectionAccess(CollectionDataCachingConfig cachingConfig) | |
| generateCollectionDataAccessMap | back to summary |
|---|---|
| private Map | |
| generateEntityAccess | back to summary |
|---|---|
| protected abstract EntityDataAccess generateEntityAccess(EntityDataCachingConfig entityAccessConfig) | |
| generateEntityDataAccessMap | back to summary |
|---|---|
| private Map | |
| generateNaturalIdAccess | back to summary |
|---|---|
| protected abstract NaturalIdDataAccess generateNaturalIdAccess(NaturalIdDataCachingConfig naturalIdAccessConfig) | |
| generateNaturalIdDataAccessMap | back to summary |
|---|---|
| private Map | |
| getCollectionDataAccess | back to summary |
|---|---|
| public CollectionDataAccess getCollectionDataAccess(NavigableRole collectionRole) Implements org. Doc from org. Build a CollectionRegionAccess instance representing access to collection data stored in this cache region using the given AccessType.
| |
| getEffectiveKeysFactory | back to summary |
|---|---|
| public CacheKeysFactory getEffectiveKeysFactory() | |
| getEntityDataAccess | back to summary |
|---|---|
| public EntityDataAccess getEntityDataAccess(NavigableRole rootEntityRole) Implements org. Doc from org. Build a EntityRegionAccess instance representing access to entity data stored in this cache region using the given AccessType.
| |
| getNaturalIdDataAccess | back to summary |
|---|---|
| public NaturalIdDataAccess getNaturalIdDataAccess(NavigableRole rootEntityRole) Implements org. Doc from org. Build a NaturalIdRegionAccess instance representing access to natural-id data stored in this cache region using the given AccessType.
| |
| getSessionFactory | back to summary |
|---|---|
| public SessionFactoryImplementor getSessionFactory()
Deprecated as a consequence of | |
| releaseDataAccess | back to summary |
|---|---|
| protected void releaseDataAccess(EntityDataAccess cacheAccess) | |
| releaseDataAccess | back to summary |
|---|---|
| protected void releaseDataAccess(NaturalIdDataAccess cacheAccess) | |
| releaseDataAccess | back to summary |
|---|---|
| protected void releaseDataAccess(CollectionDataAccess cacheAccess) | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| destroy | back to summary |
|---|---|
| public void destroy() | |