/** * Notification that cache is evicting an object * * @param obj object evicted from cache */ public void cacheObjectEvicted( CacheEntry obj ) throws CacheEvictionException { CacheEntry entry = obj; if ( entry.isDirty ) { try { recMgr.update( entry.recid, entry.obj, entry.serializer ); } catch ( IOException except ) { throw new CacheEvictionException( except ); } } } }
throw new IOException( except.getLocalizedMessage() );
throw new IOException( except.getLocalizedMessage() );
throw new IOException( except.getLocalizedMessage() );
/** * Notification that cache is evicting an object * * @param obj object evicted from cache */ public void cacheObjectEvicted( CacheEntry obj ) throws CacheEvictionException { CacheEntry entry = obj; if ( entry.isDirty ) { try { recordManager.update( entry.recid, entry.obj, entry.serializer ); } catch ( IOException except ) { throw new CacheEvictionException( except ); } } } }
throw new IOException( except.getLocalizedMessage() );
/** * Notification that cache is evicting an object * * @param obj object evicted from cache */ public void cacheObjectEvicted( CacheEntry obj ) throws CacheEvictionException { CacheEntry entry = obj; if ( entry.isDirty ) { try { recordManager.update( entry.recid, entry.obj, entry.serializer ); } catch ( IOException except ) { throw new CacheEvictionException( except ); } } } }
throw new IOException( except.getLocalizedMessage() );
throw new CacheEvictionException( null );
throw new IOException( except.getLocalizedMessage() );