com.sleepycat.je.log.entry
Class BINDeltaLogEntry
java.lang.Object
com.sleepycat.je.log.entry.SingleItemLogEntry
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.
BINDeltaLogEntry
public BINDeltaLogEntry(Class logClass)
- Parameters:
logClass
-
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.