|
|||||||||
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.LN
com.sleepycat.je.tree.DupCountLN
public final class DupCountLN
A DupCountLN represents the transactional part of the root of a duplicate tree, specifically the count of dupes in the tree.
Constructor Summary | |
---|---|
DupCountLN()
Create an empty DupCountLN, to be filled in from the log. |
|
DupCountLN(EnvironmentImpl envImpl,
int count)
Create a new DupCountLn to hold a new DIN. |
Method Summary | |
---|---|
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()
|
boolean |
logicalEquals(Loggable other)
|
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
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. |
Methods inherited from class com.sleepycat.je.tree.LN |
---|
canBeAncestor, copyData, delete, dumpLog, getData, getLastLoggedSize, isDirty, isSoughtNode, log, modify, optionalLog, optionalLogProvisional, releaseMemoryBudget, setDirty, setLastLoggedSize |
Methods inherited from class com.sleepycat.je.tree.Node |
---|
dump, getLevel, getNodeId, getTransactionId, getType, latchShared, latchShared, postFetchInit, releaseLatch, shortDescription, verify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sleepycat.je.log.Loggable |
---|
getTransactionId |
Constructor Detail |
---|
public DupCountLN(EnvironmentImpl envImpl, int count)
public DupCountLN()
Method Detail |
---|
public int getDupCount()
public int incDupCount()
public int decDupCount()
public boolean containsDuplicates()
containsDuplicates
in class Node
public boolean isDeleted()
isDeleted
in class LN
public long getMemorySizeIncludedByParent()
getMemorySizeIncludedByParent
in class LN
public void accumulateStats(TreeWalkerStatsAccumulator acc)
public java.lang.String toString()
Node
toString
in class Node
public java.lang.String beginTag()
beginTag
in class LN
public java.lang.String endTag()
endTag
in class LN
public java.lang.String dumpString(int nSpaces, boolean dumpTags)
dumpString
in class LN
protected LogEntryType getTransactionalLogType()
getTransactionalLogType
in class LN
public LogEntryType getLogType()
getLogType
in class LN
Node.getLogType()
public int getLogSize()
getLogSize
in interface Loggable
getLogSize
in class LN
LN.getLogSize()
public void writeToLog(java.nio.ByteBuffer logBuffer)
Loggable
writeToLog
in interface Loggable
writeToLog
in class LN
logBuffer
- is the destination bufferLN.writeToLog(java.nio.ByteBuffer)
public void readFromLog(java.nio.ByteBuffer itemBuffer, byte entryVersion) throws LogException
Loggable
readFromLog
in interface Loggable
readFromLog
in class LN
LogException
LN.readFromLog(java.nio.ByteBuffer, byte)
public boolean logicalEquals(Loggable other)
logicalEquals
in interface Loggable
logicalEquals
in class LN
DupCountLNs are never replicated.
protected void dumpLogAdditional(java.lang.StringBuffer sb, boolean verbose)
dumpLogAdditional
in class LN
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |