@Override public void deletePage(long id) throws IOException { checkId(id); CommitLock.Shared shared = mCommitLock.acquireShared(); try { mPageManager.deletePage(id); } catch (IOException e) { throw e; } catch (Throwable e) { throw closeOnFailure(e); } finally { shared.release(); } mPageArray.uncachePage(id); }
@Override public void uncachePage(long id) throws IOException { mPageArray.uncachePage(id); }