com.sleepycat.je.log
Interface LoggableObject

All Superinterfaces:
LogWritable
All Known Implementing Classes:
BIN, BINDelta, CheckpointEnd, CheckpointStart, DBIN, DbTree, FileHeader, IN, INDeleteInfo, INDupDeleteInfo, INLogEntry, LN, LNLogEntry, Node, Tracer, TxnEnd

public interface LoggableObject
extends LogWritable

A class that implements LoggableObject can be stored as a JE log entry.


Method Summary
 LogEntryType getLogType()
          All objects that are reponsible for a generating a type of log entry must implement this.
 boolean marshallOutsideWriteLatch()
          Return true if this item can be marshalled outside the log write latch.
 void postLogWork(long justLoggedLsn)
          Do any processing we need to do after logging, while under the logging latch.
 
Methods inherited from interface com.sleepycat.je.log.LogWritable
getLogSize, writeToLog
 

Method Detail

getLogType

public LogEntryType getLogType()
All objects that are reponsible for a generating a type of log entry must implement this.

Returns:
the type of log entry

postLogWork

public void postLogWork(long justLoggedLsn)
                 throws DatabaseException
Do any processing we need to do after logging, while under the logging latch.

Throws:
DatabaseException

marshallOutsideWriteLatch

public boolean marshallOutsideWriteLatch()
Return true if this item can be marshalled outside the log write latch.



Copyright 2004 Sleepycat, Inc. All Rights Reserved.