|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.je.tree.Node
com.sleepycat.je.tree.LN
com.sleepycat.je.tree.NameLN
public final class NameLN
A NameLN represents a Leaf Node in the name->database id mapping tree.
| Constructor Summary | |
|---|---|
NameLN()
Create an empty NameLN, to be filled in from the log. |
|
NameLN(DatabaseId id)
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. |
|
| Method Summary | |
|---|---|
java.lang.String |
beginTag()
|
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()
|
(package private) void |
makeDeleted()
|
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryTypeVersion)
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. |
| Methods inherited from class com.sleepycat.je.tree.LN |
|---|
accountForSubtreeRemoval, canBeAncestor, canMemorySizeChangeDuringLogging, copyData, delete, dumpLog, getData, getLastLoggedSize, getMemorySizeIncludedByParent, isDirty, isEvictable, isEvictableInexact, isSoughtNode, isValidForDelete, log, logUpdateMemUsage, logUpdateMemUsage, modify, optionalLog, optionalLogProvisional, optionalLogUpdateMemUsage, rebuildINList, setDirty, setLastLoggedSize |
| Methods inherited from class com.sleepycat.je.tree.Node |
|---|
containsDuplicates, dump, getLastId, getLevel, getNextNodeId, getNodeId, getTransactionId, getType, latchShared, matchLNByNodeId, postFetchInit, releaseLatch, setLastNodeId, setNodeId, shortDescription, verify |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sleepycat.je.log.Loggable |
|---|
getTransactionId |
| Constructor Detail |
|---|
public NameLN(DatabaseId id)
public NameLN()
| Method Detail |
|---|
public boolean isDeleted()
isDeleted in class LNvoid makeDeleted()
makeDeleted in class LNpublic DatabaseId getId()
public void setId(DatabaseId id)
public java.lang.String toString()
Node
toString in class Nodepublic java.lang.String beginTag()
beginTag in class LNpublic java.lang.String endTag()
endTag in class LN
public 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)
Loggable
writeToLog in interface LoggablewriteToLog in class LNlogBuffer - is the destination bufferLN.writeToLog(java.nio.ByteBuffer)
public void readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryTypeVersion)
throws LogException
Loggable
readFromLog in interface LoggablereadFromLog in class LNLogExceptionLN.readFromLog(java.nio.ByteBuffer, byte)
protected void dumpLogAdditional(java.lang.StringBuffer sb,
boolean verbose)
dumpLogAdditional in class LN
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||