Esempio n. 1
0
 @Override
 public boolean compactionStart(long targetPageCount) throws IOException {
   mCommitLock.acquireExclusive();
   try {
     return mPageManager.compactionStart(targetPageCount);
   } catch (Throwable e) {
     throw closeOnFailure(e);
   } finally {
     mCommitLock.releaseExclusive();
   }
 }