| Constructor and Description |
|---|
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.
|
| 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() |
boolean |
logicalEquals(Loggable other) |
void |
readFromLog(java.nio.ByteBuffer itemBuffer,
byte entryVersion)
Initialize this object from the data in itemBuf.
|
(package private) void |
setDupCount(int dupCount) |
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.
|
accountForSubtreeRemoval, canBeAncestor, copyData, createLogEntry, delete, dumpLog, getData, getLastLoggedSize, isDirty, isEvictable, isEvictableInexact, isSoughtNode, isValidForDelete, log, log, makeDeleted, modify, optionalLog, optionalLogProvisional, rebuildINList, releaseMemoryBudget, setDirty, setLastLoggedSizedump, getLevel, getNodeId, getTransactionId, getType, latchShared, latchShared, matchLNByNodeId, postFetchInit, releaseLatch, setNodeId, shortDescription, verifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTransactionIdpublic DupCountLN(EnvironmentImpl envImpl, int count)
public DupCountLN()
public int getDupCount()
public int incDupCount()
public int decDupCount()
void setDupCount(int dupCount)
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 entryVersion)
throws LogException
LoggablereadFromLog in interface LoggablereadFromLog in class LNLogExceptionLN.readFromLog(java.nio.ByteBuffer, byte)public boolean logicalEquals(Loggable other)
logicalEquals in interface LoggablelogicalEquals in class LNDupCountLNs are never replicated.protected void dumpLogAdditional(java.lang.StringBuffer sb,
boolean verbose)
dumpLogAdditional in class LNCopyright (c) 2004,2008 Oracle. All rights reserved.