public class HibernateTransactionalDataRegion extends HibernateRegion implements org.hibernate.cache.spi.TransactionalDataRegion
TransactionalDataRegion (transactional means that
data in the region is updated in connection with database transaction).
This interface defines base contract for EntityRegion, CollectionRegion
and NaturalIdRegion.cache, factory, ignite| Constructor and Description |
|---|
HibernateTransactionalDataRegion(HibernateRegionFactory factory,
String name,
Ignite ignite,
org.apache.ignite.internal.processors.cache.IgniteInternalCache<Object,Object> cache,
org.hibernate.cache.spi.CacheDataDescription dataDesc) |
| Modifier and Type | Method and Description |
|---|---|
protected HibernateAccessStrategyAdapter |
createAccessStrategy(org.hibernate.cache.spi.access.AccessType accessType) |
org.hibernate.cache.spi.CacheDataDescription |
getCacheDataDescription() |
boolean |
isTransactionAware() |
contains, destroy, getElementCountInMemory, getElementCountOnDisk, getName, getSizeInMemory, getTimeout, nextTimestamp, toMappublic HibernateTransactionalDataRegion(HibernateRegionFactory factory, String name, Ignite ignite, org.apache.ignite.internal.processors.cache.IgniteInternalCache<Object,Object> cache, org.hibernate.cache.spi.CacheDataDescription dataDesc)
factory - Region factory.name - Region name.ignite - Grid.cache - Region cache.dataDesc - Region data description.public boolean isTransactionAware()
isTransactionAware in interface org.hibernate.cache.spi.TransactionalDataRegionpublic org.hibernate.cache.spi.CacheDataDescription getCacheDataDescription()
getCacheDataDescription in interface org.hibernate.cache.spi.TransactionalDataRegionprotected HibernateAccessStrategyAdapter createAccessStrategy(org.hibernate.cache.spi.access.AccessType accessType)
accessType - Hibernate L2 cache access type.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016