public abstract class HibernateAbstractRegionAccessStrategy extends Object implements org.hibernate.cache.spi.access.RegionAccessStrategy
HibernateAccessStrategyAdapter.| Modifier and Type | Field and Description |
|---|---|
protected HibernateAccessStrategyAdapter |
stgy |
| Modifier | Constructor and Description |
|---|---|
protected |
HibernateAbstractRegionAccessStrategy(HibernateAccessStrategyAdapter stgy) |
| Modifier and Type | Method and Description |
|---|---|
void |
evict(Object key) |
void |
evictAll() |
@Nullable Object |
get(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
long txTs) |
@Nullable org.hibernate.cache.spi.access.SoftLock |
lockItem(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
Object ver) |
@Nullable org.hibernate.cache.spi.access.SoftLock |
lockRegion() |
boolean |
putFromLoad(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
Object val,
long txTs,
Object ver) |
boolean |
putFromLoad(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
Object val,
long txTs,
Object ver,
boolean minimalPutOverride) |
void |
remove(org.hibernate.engine.spi.SessionImplementor ses,
Object key) |
void |
removeAll() |
void |
unlockItem(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
org.hibernate.cache.spi.access.SoftLock lock) |
void |
unlockRegion(org.hibernate.cache.spi.access.SoftLock lock) |
protected final HibernateAccessStrategyAdapter stgy
protected HibernateAbstractRegionAccessStrategy(HibernateAccessStrategyAdapter stgy)
stgy - Access strategy implementation.@Nullable public @Nullable Object get(org.hibernate.engine.spi.SessionImplementor ses, Object key, long txTs) throws org.hibernate.cache.CacheException
get in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic boolean putFromLoad(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
Object val,
long txTs,
Object ver)
throws org.hibernate.cache.CacheException
putFromLoad in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic boolean putFromLoad(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
Object val,
long txTs,
Object ver,
boolean minimalPutOverride)
throws org.hibernate.cache.CacheException
putFromLoad in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheException@Nullable
public @Nullable org.hibernate.cache.spi.access.SoftLock lockItem(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
Object ver)
throws org.hibernate.cache.CacheException
lockItem in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.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.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic void unlockRegion(org.hibernate.cache.spi.access.SoftLock lock)
throws org.hibernate.cache.CacheException
unlockRegion in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic void unlockItem(org.hibernate.engine.spi.SessionImplementor ses,
Object key,
org.hibernate.cache.spi.access.SoftLock lock)
throws org.hibernate.cache.CacheException
unlockItem in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic void remove(org.hibernate.engine.spi.SessionImplementor ses,
Object key)
throws org.hibernate.cache.CacheException
remove in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic void removeAll()
throws org.hibernate.cache.CacheException
removeAll in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic void evict(Object key) throws org.hibernate.cache.CacheException
evict in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic void evictAll()
throws org.hibernate.cache.CacheException
evictAll in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019