|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.hibernate.nonstop.NonstopAwareCollectionRegionAccessStrategy
public class NonstopAwareCollectionRegionAccessStrategy
Implementation of CollectionRegionAccessStrategy
that handles NonStopCacheException
using
HibernateNonstopCacheExceptionHandler
Constructor Summary | |
---|---|
NonstopAwareCollectionRegionAccessStrategy(CollectionRegionAccessStrategy actualStrategy,
HibernateNonstopCacheExceptionHandler hibernateNonstopExceptionHandler)
Constructor accepting the actual CollectionRegionAccessStrategy and the HibernateNonstopCacheExceptionHandler |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonstopAwareCollectionRegionAccessStrategy(CollectionRegionAccessStrategy actualStrategy, HibernateNonstopCacheExceptionHandler hibernateNonstopExceptionHandler)
CollectionRegionAccessStrategy
and the HibernateNonstopCacheExceptionHandler
actualStrategy
- hibernateNonstopExceptionHandler
- Method Detail |
---|
public CollectionRegion getRegion()
org.hibernate.cache.access.EntityRegionAccessStrategy#getRegion()
public void evict(Object key) throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#evict(java.lang.Object)
public void evictAll() throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#evictAll()
public Object get(Object key, long txTimestamp) throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#get(java.lang.Object, long)
public SoftLock lockItem(Object key, Object version) throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#lockItem(java.lang.Object, java.lang.Object)
public SoftLock lockRegion() throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#lockRegion()
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version, boolean minimalPutOverride) throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object,
boolean)
public boolean putFromLoad(Object key, Object value, long txTimestamp, Object version) throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#putFromLoad(java.lang.Object, java.lang.Object, long, java.lang.Object)
public void remove(Object key) throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#remove(java.lang.Object)
public void removeAll() throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#removeAll()
public void unlockItem(Object key, SoftLock lock) throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#unlockItem(java.lang.Object, org.hibernate.cache.access.SoftLock)
public void unlockRegion(SoftLock lock) throws CacheException
CacheException
org.hibernate.cache.access.EntityRegionAccessStrategy#unlockRegion(org.hibernate.cache.access.SoftLock)
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |