public class IgniteEntityDataAccess extends IgniteCachedDomainDataAccess implements org.hibernate.cache.spi.access.EntityDataAccess
EntityDataAccess
for Hibernate integration.stgy
cache, ignite
Constructor and Description |
---|
IgniteEntityDataAccess(HibernateAccessStrategyAdapter stgy,
org.hibernate.cache.spi.access.AccessType accessType,
org.hibernate.cache.spi.RegionFactory regionFactory,
org.hibernate.cache.spi.DomainDataRegion domainDataRegion,
Ignite ignite,
HibernateCacheProxy cache) |
Modifier and Type | Method and Description |
---|---|
boolean |
afterInsert(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key,
Object val,
Object ver) |
boolean |
afterUpdate(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key,
Object val,
Object curVer,
Object prevVer,
org.hibernate.cache.spi.access.SoftLock lock) |
Object |
generateCacheKey(Object id,
org.hibernate.persister.entity.EntityPersister persister,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
String tenantIdentifier) |
org.hibernate.cache.spi.access.AccessType |
getAccessType() |
Object |
getCacheKeyId(Object cacheKey) |
boolean |
insert(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key,
Object val,
Object ver) |
boolean |
update(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key,
Object val,
Object curVer,
Object prevVer) |
contains, evict, evictAll, get, getRegion, lockItem, lockRegion, putFromLoad, putFromLoad, remove, removeAll, unlockItem, unlockRegion
clear, destroy, getElementCountInMemory, getElementCountOnDisk, getSizeInMemory
getName, getRegionFactory
public IgniteEntityDataAccess(HibernateAccessStrategyAdapter stgy, org.hibernate.cache.spi.access.AccessType accessType, org.hibernate.cache.spi.RegionFactory regionFactory, org.hibernate.cache.spi.DomainDataRegion domainDataRegion, Ignite ignite, HibernateCacheProxy cache)
public Object generateCacheKey(Object id, org.hibernate.persister.entity.EntityPersister persister, org.hibernate.engine.spi.SessionFactoryImplementor factory, String tenantIdentifier)
generateCacheKey
in interface org.hibernate.cache.spi.access.EntityDataAccess
public Object getCacheKeyId(Object cacheKey)
getCacheKeyId
in interface org.hibernate.cache.spi.access.EntityDataAccess
public boolean insert(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key, Object val, Object ver)
insert
in interface org.hibernate.cache.spi.access.EntityDataAccess
public boolean afterInsert(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key, Object val, Object ver)
afterInsert
in interface org.hibernate.cache.spi.access.EntityDataAccess
public boolean update(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key, Object val, Object curVer, Object prevVer)
update
in interface org.hibernate.cache.spi.access.EntityDataAccess
public boolean afterUpdate(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key, Object val, Object curVer, Object prevVer, org.hibernate.cache.spi.access.SoftLock lock)
afterUpdate
in interface org.hibernate.cache.spi.access.EntityDataAccess
public org.hibernate.cache.spi.access.AccessType getAccessType()
getAccessType
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024