Examples of releaseLatch()


Examples of com.sleepycat.je.tree.IN.releaseLatch()

                    /* Stats */
                    nNodesEvicted.increment();
                    renewedChild.incEvictStats(source);
                }
            } finally {
                renewedChild.releaseLatch();
            }
        } finally {
            parent.releaseLatch();
        }

View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

                        /* Stats */
                        nRootNodesEvicted.increment();
                    }
                } finally {
                    rootIN.releaseLatch();
                }

                return null;
            }
        }
View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

                 * it out.
                 */
                nINsMigratedThisRun++;
                inInTree.setDirty(true);
                inInTree.setCleanedSinceLastLog();
                inInTree.releaseLatch();
                dirtied = true;
            }

            completed = true;
        } finally {
View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

                                                      in.isDbRoot(),
                                                      in.getMainTreeKey(),
                                                      in.getDupTreeKey()));
                    }
                } finally {
                    in.releaseLatch();
                }
            }

            /* Set the tree cache size. */
            mb.refreshTreeMemoryUsage(totalSize);
View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

                        root.setLsn(newLsn);
                        flushed = true;
                    }
                }
            } finally {
                rootIN.releaseLatch();
            }                   
            return null;
        }

        boolean getFlushed() {
View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

                            nNodesEvictedThisRun++;
                            nNodesEvicted++;
                        }
                    }
                } finally {
                    renewedChild.releaseLatch();
                }
            }
        } finally {
            parent.releaseLatch();
        }
View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

        break;
    }
      }
  } finally {
      if (next != null) {
    next.releaseLatch();
      }
  }

        assert Latch.countLatchesHeld() == 0;
    }
View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

    found = false;
      }
      success = true;
        } finally {
            if (parent != null) {
                parent.releaseLatch();
            }
            trace(detailedTraceLevel,
                  db,
                  TRACE_DUP_ROOT_REPLACE, success, inFromLog,
                  lsn, parent, found,
View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

                    assert in.verifyMemorySize():
                        "in nodeId=" + in.getNodeId() +
                        ' ' + in.getClass().getName();
                    total += in.getInMemorySize();
                } finally {
                    in.releaseLatch();
                }
            }
        } finally {
            inList.releaseMajorLatch();
        }
View Full Code Here

Examples of com.sleepycat.je.tree.IN.releaseLatch()

                        }

                        if (n != null && n.containsDuplicates()) {
                            DIN dupRoot = (DIN) n;
                            dupRoot.latch();
                            in.releaseLatch();
                            in = null;
                            found = positionFirstOrLast(first, dupRoot);
                        } else {

                            /*
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.