public class IgniteCollectionDataAccess extends IgniteCachedDomainDataAccess implements org.hibernate.cache.spi.access.CollectionDataAccess
CollectionDataAccess
interface for Hibernate integration.stgy
cache, ignite
Constructor and Description |
---|
IgniteCollectionDataAccess(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 |
---|---|
Object |
generateCacheKey(Object id,
org.hibernate.persister.collection.CollectionPersister persister,
org.hibernate.engine.spi.SessionFactoryImplementor factory,
String tenantIdentifier) |
org.hibernate.cache.spi.access.AccessType |
getAccessType() |
Object |
getCacheKeyId(Object cacheKey) |
contains, evict, evictAll, get, getRegion, lockItem, lockRegion, putFromLoad, putFromLoad, remove, removeAll, unlockItem, unlockRegion
clear, destroy, getElementCountInMemory, getElementCountOnDisk, getSizeInMemory
getName, getRegionFactory
public IgniteCollectionDataAccess(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 org.hibernate.cache.spi.access.AccessType getAccessType()
getAccessType
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
public Object generateCacheKey(Object id, org.hibernate.persister.collection.CollectionPersister persister, org.hibernate.engine.spi.SessionFactoryImplementor factory, String tenantIdentifier)
generateCacheKey
in interface org.hibernate.cache.spi.access.CollectionDataAccess
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024