com.sleepycat.je.dbi
Class DatabaseImpl.StatsAccumulator

java.lang.Object
  extended by com.sleepycat.je.dbi.DatabaseImpl.StatsAccumulator
All Implemented Interfaces:
TreeWalkerStatsAccumulator
Enclosing class:
DatabaseImpl

static class DatabaseImpl.StatsAccumulator
extends Object
implements TreeWalkerStatsAccumulator


Field Summary
(package private)  int progressInterval
           
(package private)  PrintStream progressStream
           
 
Constructor Summary
DatabaseImpl.StatsAccumulator(PrintStream progressStream, int progressInterval, DatabaseStats useStats)
           
 
Method Summary
(package private)  Set getBINNodeIdsSeen()
           
(package private)  long[] getBINsByLevel()
           
(package private)  Set getDBINNodeIdsSeen()
           
(package private)  long[] getDBINsByLevel()
           
(package private)  long getDeletedLNCount()
           
(package private)  Set getDINNodeIdsSeen()
           
(package private)  long[] getDINsByLevel()
           
(package private)  Set getDupCountLNCount()
           
(package private)  int getDuplicateTreeMaxDepth()
           
(package private)  Set getINNodeIdsSeen()
           
(package private)  long[] getINsByLevel()
           
(package private)  long getLNCount()
           
(package private)  int getMainTreeMaxDepth()
           
 void incrementDeletedLNCount()
           
 void incrementLNCount()
           
 void processBIN(BIN node, Long nid, int level)
           
 void processDBIN(DBIN node, Long nid, int level)
           
 void processDIN(DIN node, Long nid, int level)
           
 void processDupCountLN(DupCountLN node, Long nid)
           
 void processIN(IN node, Long nid, int level)
           
(package private)  void verifyNode(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

progressStream

PrintStream progressStream

progressInterval

int progressInterval
Constructor Detail

DatabaseImpl.StatsAccumulator

DatabaseImpl.StatsAccumulator(PrintStream progressStream,
                              int progressInterval,
                              DatabaseStats useStats)
Method Detail

verifyNode

void verifyNode(Node node)

processIN

public void processIN(IN node,
                      Long nid,
                      int level)
Specified by:
processIN in interface TreeWalkerStatsAccumulator

processBIN

public void processBIN(BIN node,
                       Long nid,
                       int level)
Specified by:
processBIN in interface TreeWalkerStatsAccumulator

processDIN

public void processDIN(DIN node,
                       Long nid,
                       int level)
Specified by:
processDIN in interface TreeWalkerStatsAccumulator

processDBIN

public void processDBIN(DBIN node,
                        Long nid,
                        int level)
Specified by:
processDBIN in interface TreeWalkerStatsAccumulator

processDupCountLN

public void processDupCountLN(DupCountLN node,
                              Long nid)
Specified by:
processDupCountLN in interface TreeWalkerStatsAccumulator

incrementLNCount

public void incrementLNCount()
Specified by:
incrementLNCount in interface TreeWalkerStatsAccumulator

incrementDeletedLNCount

public void incrementDeletedLNCount()
Specified by:
incrementDeletedLNCount in interface TreeWalkerStatsAccumulator

getINNodeIdsSeen

Set getINNodeIdsSeen()

getBINNodeIdsSeen

Set getBINNodeIdsSeen()

getDINNodeIdsSeen

Set getDINNodeIdsSeen()

getDBINNodeIdsSeen

Set getDBINNodeIdsSeen()

getINsByLevel

long[] getINsByLevel()

getBINsByLevel

long[] getBINsByLevel()

getDINsByLevel

long[] getDINsByLevel()

getDBINsByLevel

long[] getDBINsByLevel()

getLNCount

long getLNCount()

getDupCountLNCount

Set getDupCountLNCount()

getDeletedLNCount

long getDeletedLNCount()

getMainTreeMaxDepth

int getMainTreeMaxDepth()

getDuplicateTreeMaxDepth

int getDuplicateTreeMaxDepth()


Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.