com.sleepycat.je.log
Interface LogWritable

All Known Subinterfaces:
LoggableObject
All Known Implementing Classes:
AutoTxn, BIN, BINDelta, CheckpointEnd, CheckpointStart, ChildReference, DatabaseId, DatabaseImpl, DBIN, DbTree, DeletedDupLNLogEntry, DeltaInfo, DIN, DupCountLN, FileHeader, FileSummary, FileSummaryLN, IN, INDeleteInfo, INDupDeleteInfo, INLogEntry, LN, LNLogEntry, MapLN, NameLN, Node, PackedOffsets, Tracer, TrackedFileSummary, Tree, Txn, TxnAbort, TxnCommit, TxnEnd, TxnPrepare

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

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

writeToLog

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

Parameters:
logBuffer - is the destination buffer


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