| Constructor and Description |
|---|
DupCountLN()
Create an empty DupCountLN, to be filled in from the log.
|
DupCountLN(int count)
Create a new DupCountLn to hold a new DIN.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accumulateStats(TreeWalkerStatsAccumulator acc) |
java.lang.String |
beginTag() |
boolean |
containsDuplicates() |
int |
decDupCount() |
protected void |
dumpLogAdditional(java.lang.StringBuffer sb,
boolean verbose)
Dump additional fields
|
java.lang.String |
dumpString(int nSpaces,
boolean dumpTags) |
java.lang.String |
endTag() |
int |
getDupCount() |
int |
getLogSize() |
LogEntryType |
getLogType() |
long |
getMemorySizeIncludedByParent()
Compute the approximate size of this node in memory for evictor
invocation purposes.
|
protected LogEntryType |
getTransactionalLogType()
Log type for transactional entries.
|
int |
incDupCount() |
boolean |
isDeleted() |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryTypeVersion)
Initialize this object from the data in itemBuf.
|
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.
|
canBeAncestor, copyData, delete, dumpLog, getData, getLastLoggedSize, isDirty, isSoughtNode, log, logUpdateMemUsage, logUpdateMemUsage, modify, optionalLog, optionalLogProvisional, optionalLogUpdateMemUsage, setLastLoggedSizedump, getLastId, getNextNodeId, getNodeId, getTransactionId, getType, latchShared, postFetchInit, releaseLatch, setLastNodeId, shortDescription, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTransactionIdpublic DupCountLN(int count)
public DupCountLN()
public int getDupCount()
public int incDupCount()
public int decDupCount()
public boolean containsDuplicates()
containsDuplicates in class Nodepublic long getMemorySizeIncludedByParent()
getMemorySizeIncludedByParent in class LNpublic void accumulateStats(TreeWalkerStatsAccumulator acc)
public java.lang.String toString()
Nodepublic 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)
LoggablewriteToLog 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
LoggablereadFromLog in interface LoggablereadFromLog in class LNLogExceptionLN.readFromLog(java.nio.ByteBuffer, byte)protected void dumpLogAdditional(java.lang.StringBuffer sb,
boolean verbose)
dumpLogAdditional in class LN