public class BINDeltaLogEntry extends INLogEntry<BIN>
| Constructor and Description |
|---|
BINDeltaLogEntry(BIN bin)
When constructing an entry for writing to the log, use LOG_BIN_DELTA.
|
BINDeltaLogEntry(ByteBuffer bytes,
long lastFullLsn,
long lastDeltaLsn,
LogEntryType logEntryType,
IN parent)
Used to write a pre-serialized log entry.
|
BINDeltaLogEntry(Class<BIN> logClass) |
| Modifier and Type | Method and Description |
|---|---|
LogEntry |
clone() |
Class<T> |
getLogClass()
Returns the class of the contained loggable item or items, or null if
the instance was created to write an entry.
|
LogEntryType |
getLogType() |
Object |
getResolvedItem(DatabaseImpl dbImpl)
By default, this log entry is complete and does not require fetching
additional entries.
|
boolean |
isBINDelta() |
boolean |
isDeleted()
Returns whether this is a deleted LN.
|
boolean |
isImmediatelyObsolete(DatabaseImpl dbImpl)
Returns true if this item should be counted as obsolete when logged.
|
void |
postFetchInit(DatabaseImpl dbImpl) |
void |
postLogWork(LogEntryHeader header,
long justLoggedLsn,
VLSN vlsn)
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.
|
String |
toString() |
create, dumpEntry, dumpRep, getBINWithExpiration, getDbId, getIN, getMainItem, getNodeId, getPrevDeltaLsn, getPrevFullLsn, getSize, getTransactionId, isPreSerialized, logicalEquals, readEntry, writeEntryequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getLogType, getResolvedItem, isDeleted, isImmediatelyObsolete, postLogWork, setLogTypepublic BINDeltaLogEntry(BIN bin)
public BINDeltaLogEntry(ByteBuffer bytes, long lastFullLsn, long lastDeltaLsn, LogEntryType logEntryType, IN parent)
public boolean isBINDelta()
isBINDelta in interface INContainingEntryisBINDelta in class INLogEntry<BIN>public Class<T> getLogClass()
public void setLogType(LogEntryType entryType)
setLogType in interface LogEntrypublic LogEntryType getLogType()
getLogType in interface LogEntrypublic Object getResolvedItem(DatabaseImpl dbImpl)
getResolvedItem in interface LogEntrypublic boolean isImmediatelyObsolete(DatabaseImpl dbImpl)
LogEntryisImmediatelyObsolete in interface LogEntrypublic boolean isDeleted()
LogEntrypublic void postLogWork(LogEntryHeader header, long justLoggedLsn, VLSN vlsn)
postLogWork in interface LogEntryDatabaseException - from subclasses.public void postFetchInit(DatabaseImpl dbImpl)
public LogEntry clone()
Copyright © 2024. All rights reserved.