Package org.hibernate.cache.spi
Interface DomainDataRegion
- All Superinterfaces:
Region
- All Known Implementing Classes:
AbstractDomainDataRegion
,DomainDataRegionImpl
,DomainDataRegionTemplate
,JCacheDomainDataRegionImpl
A second-level cache region that holds cacheable
domain data:
- the destructured state of entity instances and collections, and
- mappings from natural id to primary key.
This type of data has:
- key and value wrapping that should to be applied, and
- defined policies for managing concurrent data access, possibly including some form of locking.
These behaviors are defined by an instance of EntityDataAccess
,
CollectionDataAccess
, or NaturalIdDataAccess
).
-
Method Summary
Modifier and TypeMethodDescriptiongetCollectionDataAccess
(NavigableRole collectionRole) Build aCollectionDataAccess
instance representing access to destructured collection data stored in this cache region.getEntityDataAccess
(NavigableRole rootEntityRole) Build aEntityDataAccess
instance representing access to destructured entity data stored in this cache region.getNaturalIdDataAccess
(NavigableRole rootEntityRole) Build aNaturalIdDataAccess
instance representing access to natural id mappings stored in this cache region.Methods inherited from interface org.hibernate.cache.spi.Region
clear, destroy, getName, getRegionFactory
-
Method Details