public final class DIN extends IN
ACCUMULATED_LIMIT, ACCUMULATED_LIMIT_DEFAULT, BIN_LEVEL, DBMAP_LEVEL, disableCompactLsns, EXACT_MATCH, INSERT_SUCCESS, LEVEL_MASK, MAIN_LEVEL, MAX_FILE_OFFSET, MIN_LEVEL, NON_EVICTABLE_INNULL_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 |
|---|---|
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(StringBuilder sb)
DINS need to dump their dup key
|
String |
dumpString(int nSpaces,
boolean dumpTags)
For unit test support:
|
String |
endTag() |
ChildReference |
getDupCountLNRef() |
protected long |
getFixedMemoryOverhead() |
int |
getLogSize() |
LogEntryType |
getLogType()
Get the log type of this node.
|
boolean |
isDIN() |
protected long |
printMemorySize() |
void |
readFromLog(ByteBuffer itemBuffer,
int entryVersion)
Initialize this object from the data in itemBuf.
|
String |
shortClassName() |
String |
toString()
Default toString method at the root of the tree.
|
void |
writeToLog(ByteBuffer logBuffer)
Serialize this object into the buffer.
|
attachNode, clearLastLoggedSize, clearOffHeapBINId, compactMemory, compareTo, convertKey, deleteEntry, deleteRecord, detachNode, dumpLog, equals, fetchIN, fetchLN, fetchLNOrDIN, findEntry, findEntry, getBudgetedMemorySize, getCompactMaxKeyLength, getData, getDatabase, getDatabaseId, getDirty, getEnv, getEnvImplForFatalException, getFetchedCold, getFetchedColdOffHeap, getGenericLogType, getIdentifierKey, getInListResident, getInMemorySize, getKey, getKeyComparator, getKeyPrefix, getKeyVals, getKnownChildIndex, getLastDeltaLsn, getLastFullLsn, getLastLoggedLsn, getLastLoggedSize, getLatchName, getLatchNWaiters, getLatchTable, getLatchTimeoutMs, getLevel, getLN, getLogSize, getLsn, getMaxEntries, getNDeltas, getNEntries, getNextLRUNode, getNodeId, getNormalizedLevel, getNumEmbeddedLNs, getOffHeapBINId, getOffHeapBINIdsMemorySize, getParent, getPrevLRUNode, getProhibitNextDelta, getRecalcToggle, getState, getTarget, getTargets, hasCachedChildren, hasCachedChildrenFlag, hashCode, hasKeyPrefix, hasOffHeapBINIds, haveEmbeddedData, init, insertEntry, insertEntry1, insertEntry1, insertRecord, isBINDelta, isBINDelta, isDirty, isEmbeddedLN, isEmbeddedLN, isEntryKnownDeleted, isEntryPendingDeleted, isExpirationInHours, isIN, isInPri2LRU, isKeyInBounds, isLatchExclusiveOwner, isLatchOwner, isNoDataLN, isNoDataLN, isOffHeapBINDirty, isOffHeapBINPri2, isPinned, isRoot, isUpperIN, latch, latch, latchNoUpdateLRU, latchNoUpdateLRU, latchNoWait, latchParent, latchShared, latchShared, loadIN, log, log, log, logDirtyChildren, logEntry, logicalEquals, makeFetchErrorMsg, materialize, mayHaveExpirationValues, mutateToFullBIN, needsSplitting, partialEviction, pin, postFetchInit, postRecoveryInit, prepareForSlotReuse, readFromLog, recalcKeyPrefix, recoverIN, recoverRecord, releaseLatch, releaseLatchIfOwner, resetAndGetMemorySize, serialize, setDatabase, setDirty, setFetchedCold, setFetchedColdOffHeap, setFetchINHook, setIdentifierKey, setInListResident, setInPri2LRU, setKey, setKnownDeleted, setKnownDeletedAndEvictLN, setLastFullLsn, setLastLoggedLsn, setLastLoggedSize, setLsn, setNextLRUNode, setOffHeapBINId, setParent, setPendingDeleted, setPrevLRUNode, setProhibitNextDelta, setRecalcToggle, split, toSafeString, unpin, updateEntry, updateLRU, updateMemoryBudget, updateMemorySize, updateRecord, updateRepCacheStats, verifyMemorySize, writeToLogdump, getMemorySizeIncludedByParent, getTransactionId, getType, isBIN, isDBIN, isLNpublic DIN()
public DIN(SizeofMarker marker)
public ChildReference getDupCountLNRef()
public boolean containsDuplicates()
NodecontainsDuplicates in class Nodepublic long computeMemorySize()
computeMemorySize in class INprotected long printMemorySize()
printMemorySize in class INprotected long getFixedMemoryOverhead()
getFixedMemoryOverhead in class INpublic LogEntryType getLogType()
INgetLogType in class ININ.getLogType()public int getLogSize()
getLogSize in interface LoggablegetLogSize in class ININ.getLogSize()public void writeToLog(ByteBuffer logBuffer)
LoggablewriteToLog in interface LoggablewriteToLog in class INlogBuffer - is the destination bufferIN.writeToLog(java.nio.ByteBuffer)public void readFromLog(ByteBuffer itemBuffer, int entryVersion)
LoggablereadFromLog in interface LoggablereadFromLog in class INitemBuffer - the source bufferentryVersion - the log version of the dataIN.readFromLog(java.nio.ByteBuffer, int)protected void dumpLogAdditional(StringBuilder sb)
dumpLogAdditional in class INpublic String dumpString(int nSpaces, boolean dumpTags)
dumpString in class INpublic String toString()
Nodepublic String shortClassName()
shortClassName in class INCopyright © 2024. All rights reserved.