synchronized CachedObject release ( int i ) { CachedObject r = ( CachedObject ) super . addOrRemove ( i , null , true ) ; if ( r == null ) { return null ; } cacheBytesLength -= r . getStorageSize ( ) ; r . setInMemory ( false ) ; return r ; }
Removes an object from memory cache . Does not release the file storage .