Examples of fetchTargetWithExclusiveLatch()


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

                        /*
                         * This is the last entry in the parent.  Fetch and
                         * latch it, in preparation for getNextBin below.
                         */
                        curBin = (BIN) parent.fetchTargetWithExclusiveLatch
                            (parentIndex);
                        curBin.latch();
                    } else {

                        /*
 
View Full Code Here

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

                            /* Fetch and latch next child BIN. */
                            curBin = (BIN) parent.getTarget(parentIndex);
                            if (curBin == null) {
                                fetchOrWait = true;
                                curBin =
                                    (BIN) parent.fetchTargetWithExclusiveLatch
                                    (parentIndex);
                            }
                            if (!curBin.latchNoWait(CacheMode.UNCHANGED)) {
                                fetchOrWait = true;
                                curBin.latch();
View Full Code Here

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

                } else {
                    if (in.isEntryKnownDeleted(index) ||
                        in.getLsn(index) != lsn) {
                        return null;
                    }
                    return in.fetchTargetWithExclusiveLatch(index);
                }
            } finally {
                if (!isLatchedAlready) {
                    in.releaseLatch();
                }
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.