public class StatsAccumulator extends Object implements TreeWalkerStatsAccumulator
| Modifier and Type | Field and Description |
|---|---|
PrintStream |
progressStream |
| Constructor and Description |
|---|
StatsAccumulator(PrintStream progressStream,
int progressInterval) |
| Modifier and Type | Method and Description |
|---|---|
StatGroup |
getStats() |
void |
incrementDeletedLNCount() |
void |
incrementLNCount() |
void |
processBIN(BIN node,
Long nid,
int level) |
void |
processIN(IN node,
Long nid,
int level) |
void |
verifyNode(Node node) |
public PrintStream progressStream
public StatsAccumulator(PrintStream progressStream, int progressInterval)
public void verifyNode(Node node)
public void processIN(IN node, Long nid, int level)
processIN in interface TreeWalkerStatsAccumulatorpublic void processBIN(BIN node, Long nid, int level)
processBIN in interface TreeWalkerStatsAccumulatorpublic void incrementLNCount()
incrementLNCount in interface TreeWalkerStatsAccumulatorpublic void incrementDeletedLNCount()
incrementDeletedLNCount in interface TreeWalkerStatsAccumulatorpublic StatGroup getStats()
Copyright © 2024. All rights reserved.