public class NameLNLogEntry extends LNLogEntry
LNLogEntry.DupStatus
MIN_LOG_SIZE
Constructor and Description |
---|
NameLNLogEntry()
Constructor to read an entry.
|
NameLNLogEntry(LogEntryType entryType,
NameLN nameLN,
DatabaseId dbId,
byte[] key,
long abortLsn,
boolean abortKnownDeleted,
Txn txn,
ReplicationContext repContext)
Constructor to write this entry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuilder |
dumpEntry(java.lang.StringBuilder sb,
boolean verbose)
Extends its super class to dump database operation information.
|
void |
dumpRep(java.lang.StringBuilder sb)
Dump the contents of the log entry that are interesting for
replication.
|
DbOperationType |
getOperationType() |
ReplicatedDatabaseConfig |
getReplicatedCreateConfig() |
int |
getSize()
Extends its super class to add in database operation information.
|
DatabaseId |
getTruncateOldDbId() |
boolean |
logicalEquals(LogEntry other) |
void |
readEntry(EnvironmentImpl envImpl,
LogEntryHeader header,
java.nio.ByteBuffer entryBuffer)
Extends its super class to read in database operation information.
|
void |
writeEntry(LogEntryHeader header,
java.nio.ByteBuffer destBuffer)
Extends its super class to add in database operation information.
|
combineDupKeyData, getAbortKnownDeleted, getAbortLsn, getBaseLNEntrySize, getDbId, getKey, getLastLoggedSize, getLN, getMainItem, getTransactionId, getTxnId, getUnconvertedDataLength, getUnconvertedKeyLength, getUserKeyData, getUserTxn, isDeleted, newLNInstance, postFetchInit, postFetchInit, postLogWork, readBaseLNEntry, writeBaseLNEntry
clone, getLogType, getNoArgsConstructor, getResolvedItem, newInstanceOfType, newInstanceOfType, setLogType, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clone, getLogType, getResolvedItem, setLogType
public NameLNLogEntry()
public NameLNLogEntry(LogEntryType entryType, NameLN nameLN, DatabaseId dbId, byte[] key, long abortLsn, boolean abortKnownDeleted, Txn txn, ReplicationContext repContext)
public void readEntry(EnvironmentImpl envImpl, LogEntryHeader header, java.nio.ByteBuffer entryBuffer)
readEntry
in interface LogEntry
readEntry
in class LNLogEntry
LNLogEntry.readEntry(com.sleepycat.je.dbi.EnvironmentImpl, com.sleepycat.je.log.LogEntryHeader, java.nio.ByteBuffer)
public java.lang.StringBuilder dumpEntry(java.lang.StringBuilder sb, boolean verbose)
dumpEntry
in interface LogEntry
dumpEntry
in class LNLogEntry
LNLogEntry.dumpEntry(java.lang.StringBuilder, boolean)
public int getSize()
getSize
in interface LogEntry
getSize
in class LNLogEntry
LNLogEntry.getSize()
public void writeEntry(LogEntryHeader header, java.nio.ByteBuffer destBuffer)
writeEntry
in interface LogEntry
writeEntry
in class LNLogEntry
destBuffer
- is the destination bufferLogEntry#writeToLog
public boolean logicalEquals(LogEntry other)
logicalEquals
in interface LogEntry
logicalEquals
in class LNLogEntry
LogEntry.logicalEquals(com.sleepycat.je.log.entry.LogEntry)
public DbOperationType getOperationType()
public ReplicatedDatabaseConfig getReplicatedCreateConfig()
public DatabaseId getTruncateOldDbId()
public void dumpRep(java.lang.StringBuilder sb)
LogEntry
dumpRep
in interface LogEntry
dumpRep
in class LNLogEntry
LogEntry.dumpRep(java.lang.StringBuilder)
Copyright (c) 2004-2012 Oracle. All rights reserved.