Package com.sleepycat.je.log.entry

Examples of com.sleepycat.je.log.entry.NodeLogEntry


            throw EnvironmentFailureException.unexpectedState
                (debugTag + " txn id should be negative: " + entry);
        }

        if (entry instanceof LNLogEntry) {
            NodeLogEntry n = (NodeLogEntry) entry;
            if (n.getNodeId() >= 0) {
                throw EnvironmentFailureException.unexpectedState
                    (debugTag + " node id should be negative: " + entry);
            }

            if (LogEntryType.LOG_NAMELN_TRANSACTIONAL.equalsType
                (getEntryType())) {
                NameLN nameLN = (NameLN) ((LNLogEntry) entry).getLN();
                if (nameLN.getId().getId() >= 0) {
                    throw EnvironmentFailureException.unexpectedState
                        (debugTag + " db id should be negative: " + entry);
                }
            } else {
                if (n.getDbId().getId() >= 0) {
                    throw EnvironmentFailureException.unexpectedState
                        (debugTag + " db id should be negative: " + entry);
                }
            }
        }
View Full Code Here

TOP

Related Classes of com.sleepycat.je.log.entry.NodeLogEntry

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.