public class NameLNLogEntry extends LNLogEntry
LNLogEntry.DupStatusMIN_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, writeBaseLNEntryclone, getLogType, getNoArgsConstructor, getResolvedItem, newInstanceOfType, newInstanceOfType, setLogType, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getLogType, getResolvedItem, setLogTypepublic 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 LogEntryreadEntry in class LNLogEntryLNLogEntry.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 LogEntrydumpEntry in class LNLogEntryLNLogEntry.dumpEntry(java.lang.StringBuilder, boolean)public int getSize()
getSize in interface LogEntrygetSize in class LNLogEntryLNLogEntry.getSize()public void writeEntry(LogEntryHeader header, java.nio.ByteBuffer destBuffer)
writeEntry in interface LogEntrywriteEntry in class LNLogEntrydestBuffer - is the destination bufferLogEntry#writeToLogpublic boolean logicalEquals(LogEntry other)
logicalEquals in interface LogEntrylogicalEquals in class LNLogEntryLogEntry.logicalEquals(com.sleepycat.je.log.entry.LogEntry)public DbOperationType getOperationType()
public ReplicatedDatabaseConfig getReplicatedCreateConfig()
public DatabaseId getTruncateOldDbId()
public void dumpRep(java.lang.StringBuilder sb)
LogEntrydumpRep in interface LogEntrydumpRep in class LNLogEntryLogEntry.dumpRep(java.lang.StringBuilder)Copyright (c) 2004-2012 Oracle. All rights reserved.