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_LEVELNULL_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, verifyMemorySizedump, getMemorySizeIncludedByParent, getTransactionId, getType, isBIN, isCompressible, isLNclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTransactionIdpublic DIN()
public DIN(SizeofMarker marker)
public ChildReference getDupCountLNRef()
public DupCountLN getDupCountLN() throws DatabaseException
DatabaseExceptionpublic boolean containsDuplicates()
NodecontainsDuplicates in class Nodepublic long computeMemorySize()
computeMemorySize in class INprotected long printMemorySize()
printMemorySize in class INprotected long getFixedMemoryOverhead()
getFixedMemoryOverhead in class INprotected boolean isEvictionProhibited()
INisEvictionProhibited in class INpublic LogEntryType getLogType()
INgetLogType in class ININ.getLogType()public int getLogSize()
getLogSize in interface LoggablegetLogSize in class ININ.getLogSize()public void writeToLog(java.nio.ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablewriteToLog in class INlogBuffer - is the destination bufferIN.writeToLog(java.nio.ByteBuffer)public void readFromLog(java.nio.ByteBuffer itemBuffer,
int entryVersion)
LoggablereadFromLog in interface LoggablereadFromLog in class ININ.readFromLog(java.nio.ByteBuffer, int)protected void dumpLogAdditional(java.lang.StringBuilder sb)
dumpLogAdditional in class INpublic java.lang.String dumpString(int nSpaces,
boolean dumpTags)
dumpString in class INpublic java.lang.String toString()
Nodepublic java.lang.String shortClassName()
shortClassName in class INCopyright (c) 2004-2012 Oracle. All rights reserved.