Example #1
0
 protected void hook396(
     BIN bin, BINReference binRef, boolean empty, boolean requeued, byte[] dupKey, boolean isDBIN)
     throws DatabaseException {
   try {
     original(bin, binRef, empty, requeued, dupKey, isDBIN);
   } finally {
     bin.releaseLatch();
   }
 }
Example #2
0
 protected void hook397(
     byte[] mainKey, byte[] dupKey, Tree tree, DIN duplicateRoot, DBIN duplicateBin, BIN bin)
     throws DatabaseException {
   try {
     original(mainKey, dupKey, tree, duplicateRoot, duplicateBin, bin);
   } catch (DatabaseException DBE) {
     if (bin != null) {
       bin.releaseLatchIfOwner();
     }
     if (duplicateRoot != null) {
       duplicateRoot.releaseLatchIfOwner();
     }
     if (duplicateBin != null) {
       duplicateBin.releaseLatchIfOwner();
     }
     throw DBE;
   }
 }
Example #3
0
 protected void hook402(BIN bin) throws DatabaseException {
   bin.releaseLatch();
   original(bin);
 }
Example #4
0
 protected void hook401(DIN duplicateRoot, BIN bin) throws DatabaseException {
   duplicateRoot.latch();
   bin.releaseLatch();
   original(duplicateRoot, bin);
 }
Example #5
0
 protected void hook394(BIN foundBin) throws DatabaseException {
   foundBin.releaseLatch();
   original(foundBin);
 }