|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.log.entry.SingleItemEntry
com.sleepycat.je.log.entry.BINDeltaLogEntry
public class BINDeltaLogEntry
A BINDeltaLogEntry knows how to create a whole BIN from a delta entry.
Constructor Summary | |
---|---|
BINDeltaLogEntry(java.lang.Class<BINDelta> logClass)
|
Method Summary | |
---|---|
boolean |
countAsObsoleteWhenLogged()
Returns true if this item should be counted as obsoleted when logged. |
DatabaseId |
getDbId()
|
IN |
getIN(EnvironmentImpl env)
|
int |
getLastLoggedSize()
By default, return zero because the last logged size is unknown. |
LogEntryType |
getLogType()
|
long |
getLsnOfIN(long lastReadLsn)
|
void |
postLogWork(long justLoggedLsn)
Do any processing we need to do after logging, while under the logging latch. |
void |
setLogType(LogEntryType entryType)
Inform a BaseEntry instance of its corresponding LogEntryType. |
java.lang.String |
toString()
|
Methods inherited from class com.sleepycat.je.log.entry.SingleItemEntry |
---|
clone, dumpEntry, getMainItem, getSize, getTransactionId, logicalEquals, readEntry, writeEntry |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sleepycat.je.log.entry.LogEntry |
---|
countAsObsoleteWhenLogged, getLastLoggedSize, getLogType, postLogWork, setLogType |
Constructor Detail |
---|
public BINDeltaLogEntry(java.lang.Class<BINDelta> logClass)
logClass
- Method Detail |
---|
public IN getIN(EnvironmentImpl env) throws DatabaseException
getIN
in interface INContainingEntry
DatabaseException
public DatabaseId getDbId()
getDbId
in interface INContainingEntry
public long getLsnOfIN(long lastReadLsn)
getLsnOfIN
in interface INContainingEntry
public void setLogType(LogEntryType entryType)
public LogEntryType getLogType()
public int getLastLoggedSize()
public boolean countAsObsoleteWhenLogged()
public void postLogWork(long justLoggedLsn) throws DatabaseException
DatabaseException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |