com.hazelcast.hibernate.region
public final class CollectionRegionAccessStrategyAdapter extends Object
Constructor and Description |
---|
CollectionRegionAccessStrategyAdapter(AccessDelegate<? extends HazelcastCollectionRegion> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
evict(Object key) |
void |
evictAll() |
Object |
get(Object key,
long txTimestamp) |
CollectionRegion |
getRegion() |
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) |
public CollectionRegionAccessStrategyAdapter(AccessDelegate<? extends HazelcastCollectionRegion> delegate)
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 CollectionRegion getRegion()
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.