Package com.sleepycat.je.dbi

Examples of com.sleepycat.je.dbi.SortedLSNTreeWalker.walk()


        SortedLSNTreeWalker walker =
            new SortedLSNTreeWalker(new DatabaseImpl[] { dbImpl },
                                    false /*setDbState*/,
                                    new long[] { rootLsn },
                                    gatherLsns, savedExceptions, null);
        walker.walk();

        /* Print out any exceptions seen during the walk. */
        if (savedExceptions.size() > 0) {
            out.println(savedExceptions.size() +
                        " problems seen during tree walk for checkLsns");
View Full Code Here


            new SortedLSNTreeWalker(dbImpl,
                                    false, // don't remove from INList
                                    false, // don't set db state
                                    rootLsn,
                                    gatherLsns);
        walker.walk();
        Set lsnsInTree = gatherLsns.getLsns();
        lsnsInTree.add(new Long(rootLsn));
   
        /* Get all the files used by this database. */
        Iterator iter = lsnsInTree.iterator();
View Full Code Here

                                    false, // don't set db state
                                    rootLsn,
                                    gatherLsns,
                                    savedExceptions,
                                    null);
        walker.walk();

        /* Print out any exceptions seen during the walk. */
        if (savedExceptions.size() > 0) {
            out.println(savedExceptions.size() +
                        " problems seen during tree walk for checkLsns");
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.