01: /*-
02: * See the file LICENSE for redistribution information.
03: *
04: * Copyright (c) 2002,2008 Oracle. All rights reserved.
05: *
06: * $Id: NodeLogEntry.java,v 1.5.2.2 2008/01/07 15:14:13 cwl Exp $
07: */
08:
09: package com.sleepycat.je.log.entry;
10:
11: /**
12: * Implemented by all LogEntry classes that provide a node ID.
13: */
14: public interface NodeLogEntry extends LogEntry {
15:
16: /**
17: * Returns the node ID. This value is redundant with the main item (Node)
18: * of a log entry. It is returned separately so that it can be obtained
19: * when the entry's main item (Node) is not loaded. Partial loading is an
20: * optimization for recovery.
21: */
22: long getNodeId();
23: }
|