Package com.sleepycat.je.recovery

Examples of com.sleepycat.je.recovery.CheckpointEnd


     * ckptStart, ckptend, end of Log) and the distance inbetween.
     */
    private String displayRecoveryInterval() {
        StringBuilder returnInfo = new StringBuilder();

        CheckpointEnd cEnd = info.checkpointEnd;
        if (cEnd != null) {
            returnInfo.append("checkpointId = ");
            returnInfo.append(cEnd.getId());
            if (cEnd.getInvoker() == null) {
                returnInfo.append(" ");
            } else {
                returnInfo.append("[").append(cEnd.getInvoker());
                returnInfo.append("] ");
            }
        }

        long fileMax =
View Full Code Here


            writeAndRead(buffer, start, startFromLog);

            /*
             * Checkpoint end
             */
            CheckpointEnd end =
                new CheckpointEnd("test",
                                  DbLsn.makeLsn(20, 55),
                                  env.getRootLsn(),
                                  env.getTxnManager().getFirstActiveLsn(),
                                  Node.getLastId(),
                                  env.getDbMapTree().getLastDbId(),
                                  env.getTxnManager().getLastTxnId(),
                                  177);
            CheckpointEnd endFromLog = new CheckpointEnd();
            writeAndRead(buffer, end, endFromLog);
        } catch (Throwable t) {
            t.printStackTrace();
            throw t;
        }
View Full Code Here

TOP

Related Classes of com.sleepycat.je.recovery.CheckpointEnd

Copyright © 2018 www.massapicom. 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.