com.sleepycat.je.log.entry
Class BINDeltaLogEntry

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

public class BINDeltaLogEntry
extends SingleItemEntry
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.BaseEntry
entryType, logClass
 
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.SingleItemEntry
clone, dumpEntry, getMainItem, getSize, getTransactionId, readEntry, writeEntry
 
Methods inherited from class com.sleepycat.je.log.entry.BaseEntry
countAsObsoleteWhenLogged, getLogType, postLogWork, setLastLoggedSize, setLogType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sleepycat.je.log.entry.LogEntry
countAsObsoleteWhenLogged, getLogType, postLogWork, setLastLoggedSize, setLogType
 

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,2008 Oracle. All rights reserved.