| Constructor and Description |
|---|
NameLN()
Create an empty NameLN, to be filled in from the log.
|
NameLN(DatabaseId id,
EnvironmentImpl envImpl,
boolean replicate)
In the ideal world, we'd have a base LN class so that this NameLN
doesn't have a superfluous data field, but we want to optimize the LN
class for size and speed right now.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
beginTag() |
(package private) LNLogEntry |
createLogEntry(LogEntryType entryType,
DatabaseImpl dbImpl,
byte[] key,
byte[] delDupKey,
long logAbortLsn,
boolean logAbortKnownDeleted,
Txn logTxn,
ReplicationContext repContext) |
protected void |
dumpLogAdditional(java.lang.StringBuffer sb,
boolean verbose)
Dump additional fields.
|
java.lang.String |
dumpString(int nSpaces,
boolean dumpTags) |
java.lang.String |
endTag() |
DatabaseId |
getId() |
int |
getLogSize() |
LogEntryType |
getLogType() |
protected LogEntryType |
getTransactionalLogType()
Log type for transactional entries.
|
boolean |
isDeleted() |
boolean |
logicalEquals(Loggable other) |
(package private) void |
makeDeleted() |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
Initialize this object from the data in itemBuf.
|
void |
setId(DatabaseId id) |
java.lang.String |
toString()
Default toString method at the root of the tree.
|
void |
writeToLog(java.nio.ByteBuffer logBuffer)
Serialize this object into the buffer.
|
accountForSubtreeRemoval, canBeAncestor, copyData, delete, dumpLog, getData, getLastLoggedSize, getMemorySizeIncludedByParent, isDirty, isEvictable, isEvictableInexact, isSoughtNode, isValidForDelete, log, log, modify, optionalLog, optionalLogProvisional, rebuildINList, releaseMemoryBudget, setDirty, setLastLoggedSizecontainsDuplicates, dump, getLevel, getNodeId, getTransactionId, getType, latchShared, latchShared, matchLNByNodeId, postFetchInit, releaseLatch, setNodeId, shortDescription, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTransactionIdpublic NameLN(DatabaseId id, EnvironmentImpl envImpl, boolean replicate)
public NameLN()
void makeDeleted()
makeDeleted in class LNpublic DatabaseId getId()
public void setId(DatabaseId id)
public java.lang.String toString()
Nodepublic java.lang.String dumpString(int nSpaces,
boolean dumpTags)
dumpString in class LNprotected LogEntryType getTransactionalLogType()
getTransactionalLogType in class LNpublic LogEntryType getLogType()
getLogType in class LNNode.getLogType()public int getLogSize()
getLogSize in interface LoggablegetLogSize in class LNLN.getLogSize()public void writeToLog(java.nio.ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablewriteToLog in class LNlogBuffer - is the destination bufferLN.writeToLog(java.nio.ByteBuffer)public void readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
throws LogException
LoggablereadFromLog in interface LoggablereadFromLog in class LNLogExceptionLN.readFromLog(java.nio.ByteBuffer, byte)public boolean logicalEquals(Loggable other)
logicalEquals in interface LoggablelogicalEquals in class LNLoggable.logicalEquals(com.sleepycat.je.log.Loggable)protected void dumpLogAdditional(java.lang.StringBuffer sb,
boolean verbose)
dumpLogAdditional in class LNLNLogEntry createLogEntry(LogEntryType entryType, DatabaseImpl dbImpl, byte[] key, byte[] delDupKey, long logAbortLsn, boolean logAbortKnownDeleted, Txn logTxn, ReplicationContext repContext)
createLogEntry in class LNCopyright (c) 2004,2008 Oracle. All rights reserved.