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)
           
 
Method Summary
(package private)  long[] getBINEntriesHistogram()
           
(package private)  Set<Long> getBINNodeIdsSeen()
           
(package private)  long[] getBINsByLevel()
           
(package private)  long getDeletedLNCount()
           
(package private)  Set<Long> 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 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)
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

incrementLNCount

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

incrementDeletedLNCount

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

getINNodeIdsSeen

Set<Long> getINNodeIdsSeen()

getBINNodeIdsSeen

Set<Long> getBINNodeIdsSeen()

getINsByLevel

long[] getINsByLevel()

getBINsByLevel

long[] getBINsByLevel()

getBINEntriesHistogram

long[] getBINEntriesHistogram()

getLNCount

long getLNCount()

getDeletedLNCount

long getDeletedLNCount()

getMainTreeMaxDepth

int getMainTreeMaxDepth()


Copyright (c) 2004-2012 Oracle. All rights reserved.