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