From commits-return-6386-apmail-jackrabbit-commits-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Oct 02 15:11:10 2008 Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 75892 invoked from network); 2 Oct 2008 15:11:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2008 15:11:10 -0000 Received: (qmail 44872 invoked by uid 500); 2 Oct 2008 15:11:09 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 44833 invoked by uid 500); 2 Oct 2008 15:11:08 -0000 Mailing-List: contact commits-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list commits@jackrabbit.apache.org Received: (qmail 44824 invoked by uid 99); 2 Oct 2008 15:11:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 08:11:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 15:10:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 961332388882; Thu, 2 Oct 2008 08:10:49 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r701147 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java Date: Thu, 02 Oct 2008 15:10:49 -0000 To: commits@jackrabbit.apache.org From: dpfister@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081002151049.961332388882@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dpfister Date: Thu Oct 2 08:10:49 2008 New Revision: 701147 URL: http://svn.apache.org/viewvc?rev=701147&view=rev Log: javadoc changes Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java?rev=701147&r1=701146&r2=701147&view=diff ============================================================================== --- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java (original) +++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java Thu Oct 2 08:10:49 2008 @@ -33,10 +33,34 @@ import java.io.OutputStream; /** - * A file record log is a file containing {@link Record}s. Physically, - * the first 4 bytes contain a signature, followed by a major and minor version - * (2 bytes each). The next 8 bytes contain the revision this log starts with. - * After this, zero or more ReadRecords follow. + * A file record log is a file containing {@link Record}s. Every file record + * log contains a header with the following physical layout: + * + *
+ * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Byte 1Byte 2Byte 3Byte 4
'J''L''O''G'
MAJORMINOR
START REVISION
+ *
+ * + * After this header, zero or more ReadRecords follow. */ public class FileRecordLog {