KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > log > entry > NodeLogEntry


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: NodeLogEntry.java,v 1.5 2006/10/30 21:14:22 bostic Exp $
7  */

8
9 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 }
24
Popular Tags