com.sleepycat.je.log
Interface LogWritable

All Known Subinterfaces:
LoggableObject
All Known Implementing Classes:
BIN, BINDelta, CheckpointEnd, CheckpointStart, ChildReference, DatabaseId, DatabaseImpl, DBIN, DbTree, DeltaInfo, FileHeader, FileSummary, IN, INDeleteInfo, INDupDeleteInfo, INLogEntry, LN, LNLogEntry, Node, PackedOffsets, Tracer, Tree, Txn, TxnEnd

public interface LogWritable

A class that implements LogWritable knows how to write itself into the JE log.


Method Summary
 int getLogSize()
           
 void writeToLog(ByteBuffer logBuffer)
          Serialize this object into the buffer.
 

Method Detail

getLogSize

public int getLogSize()
Returns:
number of bytes used to store this object.

writeToLog

public void writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer.

Parameters:
logBuffer - is the destination buffer


Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.