/** * Removes any object stored under the key specified. Note that the * object is removed from both this (L2) and the internal (L1) * cache. * @param key the key whose object should be removed */ public void remove( Object key ) { map.remove( key ); internal.remove( key ); }
/** * Removes any object stored under the key specified. Note that the * object is removed from both this (L2) and the internal (L1) * cache. * @param key the key whose object should be removed */ public void remove( Object key ) { map.remove( key ); internal.remove( key ); }
/** * Removes any object stored under the key specified. Note that the * object is removed from both this (L2) and the internal (L1) * cache. * @param key the key whose object should be removed */ public void remove(Object key) { _cacheMap.remove(key); _internal.remove(key); }
/** * Deletes a record. * * @param recid the rowid for the record that should be deleted. * @throws IOException when one of the underlying I/O operations fails. */ public synchronized void delete( long recid ) throws IOException { checkIfClosed(); recMgr.delete( recid ); cache.remove( recid ); }
/** * Deletes a record. * * @param recid the rowid for the record that should be deleted. * @throws IOException when one of the underlying I/O operations fails. */ public synchronized void delete( long recid ) throws IOException { checkIfClosed(); // Remove the entry from the underlying storage recordManager.delete( recid ); // And now update the cache cache.remove( recid ); }
/** * Deletes a record. * * @param recid the rowid for the record that should be deleted. * @throws IOException when one of the underlying I/O operations fails. */ public synchronized void delete( long recid ) throws IOException { checkIfClosed(); // Remove the entry from the underlying storage recordManager.delete( recid ); // And now update the cache cache.remove( recid ); }