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.GridCache<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, toMap
public HibernateTransactionalDataRegion(HibernateRegionFactory factory, String name, Ignite ignite, org.apache.ignite.internal.processors.cache.GridCache<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.TransactionalDataRegion
public org.hibernate.cache.spi.CacheDataDescription getCacheDataDescription()
getCacheDataDescription
in interface org.hibernate.cache.spi.TransactionalDataRegion
protected HibernateAccessStrategyAdapter createAccessStrategy(org.hibernate.cache.spi.access.AccessType accessType)
accessType
- Hibernate L2 cache access type.
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015