com.sleepycat.je.log.entry
Class BINDeltaLogEntry

java.lang.Object
  extended by com.sleepycat.je.log.entry.SingleItemLogEntry
      extended by com.sleepycat.je.log.entry.BINDeltaLogEntry
All Implemented Interfaces:
INContainingEntry, LogEntry, Cloneable

public class BINDeltaLogEntry
extends SingleItemLogEntry
implements INContainingEntry

A BINDeltaLogEntry knows how to create a whole BIN from a delta entry.


Field Summary
 
Fields inherited from class com.sleepycat.je.log.entry.SingleItemLogEntry
item
 
Constructor Summary
BINDeltaLogEntry(Class logClass)
           
 
Method Summary
 DatabaseId getDbId()
           
 IN getIN(EnvironmentImpl env)
           
 long getLsnOfIN(long lastReadLsn)
           
 
Methods inherited from class com.sleepycat.je.log.entry.SingleItemLogEntry
clone, dumpEntry, getMainItem, getNewInstance, getTransactionId, isTransactional, readEntry
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BINDeltaLogEntry

public BINDeltaLogEntry(Class logClass)
Parameters:
logClass -
Method Detail

getIN

public IN getIN(EnvironmentImpl env)
         throws DatabaseException
Specified by:
getIN in interface INContainingEntry
Returns:
the IN held within this log entry.
Throws:
DatabaseException

getDbId

public DatabaseId getDbId()
Specified by:
getDbId in interface INContainingEntry
Returns:
the database id held within this log entry.

getLsnOfIN

public long getLsnOfIN(long lastReadLsn)
Specified by:
getLsnOfIN in interface INContainingEntry
Returns:
the LSN that represents this IN. For this BINDelta, it's the last full version.


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