public abstract class IgniteCachedDomainDataAccess extends HibernateRegion implements org.hibernate.cache.spi.access.CachedDomainDataAccess
HibernateAccessStrategyAdapter
.Modifier and Type | Field and Description |
---|---|
protected HibernateAccessStrategyAdapter |
stgy |
cache, ignite
Modifier | Constructor and Description |
---|---|
protected |
IgniteCachedDomainDataAccess(HibernateAccessStrategyAdapter stgy,
org.hibernate.cache.spi.RegionFactory regionFactory,
org.hibernate.cache.spi.DomainDataRegion domainDataRegion,
Ignite ignite,
HibernateCacheProxy cache) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object key) |
void |
evict(Object key) |
void |
evictAll() |
Object |
get(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key) |
org.hibernate.cache.spi.DomainDataRegion |
getRegion() |
org.hibernate.cache.spi.access.SoftLock |
lockItem(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key,
Object version) |
@Nullable org.hibernate.cache.spi.access.SoftLock |
lockRegion() |
boolean |
putFromLoad(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key,
Object value,
Object version) |
boolean |
putFromLoad(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key,
Object value,
Object version,
boolean minimalPutOverride) |
void |
remove(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key) |
void |
removeAll(org.hibernate.engine.spi.SharedSessionContractImplementor ses) |
void |
unlockItem(org.hibernate.engine.spi.SharedSessionContractImplementor ses,
Object key,
org.hibernate.cache.spi.access.SoftLock lock) |
void |
unlockRegion(org.hibernate.cache.spi.access.SoftLock lock) |
clear, destroy, getElementCountInMemory, getElementCountOnDisk, getSizeInMemory
getName, getRegionFactory
protected final HibernateAccessStrategyAdapter stgy
protected IgniteCachedDomainDataAccess(HibernateAccessStrategyAdapter stgy, org.hibernate.cache.spi.RegionFactory regionFactory, org.hibernate.cache.spi.DomainDataRegion domainDataRegion, Ignite ignite, HibernateCacheProxy cache)
stgy
- Access strategy implementation.public org.hibernate.cache.spi.DomainDataRegion getRegion()
getRegion
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
public Object get(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key) throws org.hibernate.cache.CacheException
get
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public boolean putFromLoad(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key, Object value, Object version) throws org.hibernate.cache.CacheException
putFromLoad
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public boolean putFromLoad(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key, Object value, Object version, boolean minimalPutOverride) throws org.hibernate.cache.CacheException
putFromLoad
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public org.hibernate.cache.spi.access.SoftLock lockItem(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key, Object version) throws org.hibernate.cache.CacheException
lockItem
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public void unlockItem(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key, org.hibernate.cache.spi.access.SoftLock lock) throws org.hibernate.cache.CacheException
unlockItem
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public void remove(org.hibernate.engine.spi.SharedSessionContractImplementor ses, Object key) throws org.hibernate.cache.CacheException
remove
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
@Nullable public @Nullable org.hibernate.cache.spi.access.SoftLock lockRegion() throws org.hibernate.cache.CacheException
lockRegion
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public void unlockRegion(org.hibernate.cache.spi.access.SoftLock lock) throws org.hibernate.cache.CacheException
unlockRegion
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public void removeAll(org.hibernate.engine.spi.SharedSessionContractImplementor ses) throws org.hibernate.cache.CacheException
removeAll
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public void evict(Object key) throws org.hibernate.cache.CacheException
evict
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public void evictAll() throws org.hibernate.cache.CacheException
evictAll
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
org.hibernate.cache.CacheException
public boolean contains(Object key)
contains
in interface org.hibernate.cache.spi.access.CachedDomainDataAccess
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024