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
NULL_NODE_ID
Constructor and Description |
---|
DIN()
Create an empty DIN, with no node ID, to be filled in from the log.
|
DIN(SizeofMarker marker)
For Sizeof, set all array fields to null, since they are not part of the
fixed overhead.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
beginTag() |
long |
computeMemorySize()
Count up the memory usage attributable to this node alone.
|
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(java.lang.StringBuilder sb)
DINS need to dump their dup key
|
java.lang.String |
dumpString(int nSpaces,
boolean dumpTags)
For unit test support:
|
java.lang.String |
endTag() |
DupCountLN |
getDupCountLN() |
ChildReference |
getDupCountLNRef() |
protected long |
getFixedMemoryOverhead() |
int |
getLogSize() |
LogEntryType |
getLogType()
Get the log type of this node.
|
protected boolean |
isEvictionProhibited()
Returns whether the node is not evictable, irrespective of the status
of the children nodes.
|
protected long |
printMemorySize() |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
int entryVersion)
Initialize this object from the data in itemBuf.
|
java.lang.String |
shortClassName() |
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.
|
afterLog, beforeLog, clearLsnCompaction, clearPendingDeleted, compactMemory, compareTo, createNewInstance, deleteEntry, dumpLog, equals, fetchTarget, fetchTargetWithExclusiveLatch, findEntry, findEntry, getBudgetedMemorySize, getCompactMaxKeyLength, getDatabase, getDatabaseId, getDirty, getEvictionType, getGeneration, getGenericLogType, getIdentifierKey, getInListResident, getInMemorySize, getKey, getKeyComparator, getKeyVals, getLastDeltaVersion, getLastFullVersion, getLastLoggedVersion, getLatchQueueLength, getLatchString, getLevel, getLsn, getMaxEntries, getMigrate, getNEntries, getNodeId, getRecalcToggle, getState, getTarget, getTargets, getTreeAdminMemorySize, hashCode, incEvictStats, incFetchStats, init, initMemorySize, insertEntry, insertEntry1, isDbRoot, isEntryKnownDeleted, isEntryPendingDeleted, isEvictable, isIN, isKeyInBounds, isLatchOwnerForRead, isLatchOwnerForWrite, isRoot, latch, latch, latchNoWait, latchNoWait, latchShared, latchShared, log, log, log, logDirtyChildren, logicalEquals, needsSplitting, optionalLog, optionalLogProvisional, postFetchInit, postRecoveryInit, prepareForSlotReuse, recalcKeyPrefix, releaseLatch, releaseLatchIfOwner, resetAndGetMemorySize, setDatabase, setDirty, setGeneration, setGeneration, setIdentifierKey, setInListResident, setMigrate, setPendingDeleted, setProhibitNextDelta, setRecalcToggle, splitInternal, updateEntry, updateEntry, updateEntry, updateMemorySize, updateNode, updateNode, updateNode, verify, verifyMemorySize
dump, getMemorySizeIncludedByParent, getTransactionId, getType, isBIN, isCompressible, isLN
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTransactionId
public DIN()
public DIN(SizeofMarker marker)
public ChildReference getDupCountLNRef()
public DupCountLN getDupCountLN() throws DatabaseException
DatabaseException
public boolean containsDuplicates()
Node
containsDuplicates
in class Node
public long computeMemorySize()
computeMemorySize
in class IN
protected long printMemorySize()
printMemorySize
in class IN
protected long getFixedMemoryOverhead()
getFixedMemoryOverhead
in class IN
protected boolean isEvictionProhibited()
IN
isEvictionProhibited
in class IN
public LogEntryType getLogType()
IN
getLogType
in class IN
IN.getLogType()
public int getLogSize()
getLogSize
in interface Loggable
getLogSize
in class IN
IN.getLogSize()
public void writeToLog(java.nio.ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
writeToLog
in class IN
logBuffer
- is the destination bufferIN.writeToLog(java.nio.ByteBuffer)
public void readFromLog(java.nio.ByteBuffer itemBuffer, int entryVersion)
Loggable
readFromLog
in interface Loggable
readFromLog
in class IN
IN.readFromLog(java.nio.ByteBuffer, int)
protected void dumpLogAdditional(java.lang.StringBuilder sb)
dumpLogAdditional
in class IN
public java.lang.String dumpString(int nSpaces, boolean dumpTags)
dumpString
in class IN
public java.lang.String toString()
Node
public java.lang.String shortClassName()
shortClassName
in class IN
Copyright (c) 2004-2012 Oracle. All rights reserved.