com.hazelcast.hibernate.region
public final class EntityRegionAccessStrategyAdapter extends Object
Constructor and Description |
---|
EntityRegionAccessStrategyAdapter(AccessDelegate<? extends HazelcastEntityRegion> delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
afterInsert(Object key,
Object value,
Object version) |
boolean |
afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
void |
evict(Object key) |
void |
evictAll() |
Object |
get(Object key,
long txTimestamp) |
EntityRegion |
getRegion() |
boolean |
insert(Object key,
Object value,
Object version) |
SoftLock |
lockItem(Object key,
Object version) |
SoftLock |
lockRegion() |
boolean |
putFromLoad(Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
remove(Object key) |
void |
removeAll() |
void |
unlockItem(Object key,
SoftLock lock) |
void |
unlockRegion(SoftLock lock) |
boolean |
update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
public EntityRegionAccessStrategyAdapter(AccessDelegate<? extends HazelcastEntityRegion> delegate)
public boolean afterInsert(Object key, Object value, Object version) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public boolean afterUpdate(Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void evict(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void evictAll() throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public Object get(Object key, long txTimestamp) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public EntityRegion getRegion()
public boolean insert(Object key, Object value, Object version) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public SoftLock lockItem(Object key, Object version) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public SoftLock lockRegion() throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void remove(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void removeAll() throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void unlockItem(Object key, SoftLock lock) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void unlockRegion(SoftLock lock) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.