|
|||||||||
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.IN
com.sleepycat.je.tree.BIN
com.sleepycat.je.tree.dupConvert.DBIN
public final class DBIN
A DBIN represents an Duplicate Bottom Internal Node in the JE tree. Obsolete in log version 8, only used by DupConvert and some log readers.
Field Summary |
---|
Fields inherited from class com.sleepycat.je.tree.IN |
---|
ACCUMULATED_LIMIT, BIN_LEVEL, DBMAP_LEVEL, EXACT_MATCH, INSERT_SUCCESS, latch, LEVEL_MASK, MAIN_LEVEL, MAX_LEVEL, MAY_EVICT_LNS, MAY_EVICT_NODE, MAY_NOT_EVICT, MIN_LEVEL |
Fields inherited from class com.sleepycat.je.tree.Node |
---|
NULL_NODE_ID |
Constructor Summary | |
---|---|
DBIN()
|
|
DBIN(SizeofMarker marker)
For Sizeof, set all array fields to null, since they are not part of the fixed overhead. |
Method Summary | |
---|---|
String |
beginTag()
|
boolean |
containsDuplicates()
Since DIN/DBIN/DupCountLN are no longer used in the Btree, this method should normally only be used by dup conversion or entities that do not access records via the Btree. |
protected void |
dumpLogAdditional(StringBuilder sb)
DBINS need to dump their dup key |
String |
dumpString(int nSpaces,
boolean dumpTags)
For unit test support: |
String |
endTag()
|
protected long |
getFixedMemoryOverhead()
|
int |
getLogSize()
|
LogEntryType |
getLogType()
Get the log type of this node. |
protected boolean |
isEvictionProhibited()
Note that the IN may or may not be latched when this method is called. |
void |
readFromLog(ByteBuffer itemBuffer,
int entryVersion)
Initialize this object from the data in itemBuf. |
String |
shortClassName()
|
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer. |
Methods inherited from class com.sleepycat.je.tree.BIN |
---|
addCursor, afterLog, beforeLog, clearKnownDeleted, compress, computeMemorySize, createNewInstance, createReference, evictLN, evictLNs, fetchTarget, getCursorSet, getLastDeltaVersion, getLastLoggedVersion, getTreeAdminMemorySize, getVLSN, getVLSNCache, incEvictStats, incFetchStats, isBIN, isCompressible, logDirtyChildren, nCursors, queueSlotDeletion, removeCursor, setKnownDeleted, setKnownDeletedClearAll, setProhibitNextDelta, shouldLogDelta, verifyCursors |
Methods inherited from class com.sleepycat.je.tree.Node |
---|
dump, getMemorySizeIncludedByParent, getTransactionId, getType, isLN |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sleepycat.je.log.Loggable |
---|
dumpLog, getTransactionId, logicalEquals |
Constructor Detail |
---|
public DBIN()
public DBIN(SizeofMarker marker)
Method Detail |
---|
public boolean containsDuplicates()
Node
containsDuplicates
in class Node
protected long getFixedMemoryOverhead()
getFixedMemoryOverhead
in class BIN
protected boolean isEvictionProhibited()
BIN
isEvictionProhibited
in class BIN
public String beginTag()
beginTag
in class BIN
public String endTag()
endTag
in class BIN
public String dumpString(int nSpaces, boolean dumpTags)
dumpString
in class IN
public LogEntryType getLogType()
IN
getLogType
in class BIN
IN.getLogType()
public int getLogSize()
getLogSize
in interface Loggable
getLogSize
in class IN
Loggable.getLogSize()
public void writeToLog(ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
writeToLog
in class IN
logBuffer
- is the destination bufferLoggable.writeToLog(java.nio.ByteBuffer)
public void readFromLog(ByteBuffer itemBuffer, int entryVersion)
Loggable
readFromLog
in interface Loggable
readFromLog
in class IN
IN.readFromLog(java.nio.ByteBuffer, int)
protected void dumpLogAdditional(StringBuilder sb)
dumpLogAdditional
in class IN
public String shortClassName()
shortClassName
in class BIN
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |