public abstract class GridHibernateAbstractRegionAccessStrategy extends Object implements org.hibernate.cache.spi.access.RegionAccessStrategy
GridHibernateAccessStrategyAdapter.| Modifier and Type | Field and Description |
|---|---|
protected GridHibernateAccessStrategyAdapter |
stgy |
| Modifier | Constructor and Description |
|---|---|
protected |
GridHibernateAbstractRegionAccessStrategy(GridHibernateAccessStrategyAdapter stgy) |
| Modifier and Type | Method and Description |
|---|---|
void |
evict(Object key) |
void |
evictAll() |
Object |
get(Object key,
long txTs) |
org.hibernate.cache.spi.access.SoftLock |
lockItem(Object key,
Object ver) |
org.hibernate.cache.spi.access.SoftLock |
lockRegion() |
boolean |
putFromLoad(Object key,
Object val,
long txTs,
Object ver) |
boolean |
putFromLoad(Object key,
Object val,
long txTs,
Object ver,
boolean minimalPutOverride) |
void |
remove(Object key) |
void |
removeAll() |
void |
unlockItem(Object key,
org.hibernate.cache.spi.access.SoftLock lock) |
void |
unlockRegion(org.hibernate.cache.spi.access.SoftLock lock) |
protected final GridHibernateAccessStrategyAdapter stgy
protected GridHibernateAbstractRegionAccessStrategy(GridHibernateAccessStrategyAdapter stgy)
stgy - Access strategy implementation.@Nullable public Object get(Object key, long txTs) throws org.hibernate.cache.CacheException
get in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheExceptionpublic boolean putFromLoad(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(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 org.hibernate.cache.spi.access.SoftLock lockItem(Object key, Object ver) throws org.hibernate.cache.CacheException
lockItem in interface org.hibernate.cache.spi.access.RegionAccessStrategyorg.hibernate.cache.CacheException@Nullable
public 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(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(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
GridGain Fabric : ver. 6.6.9-p1 Release Date : August 10 2016