KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > tree > TreeWalkerStatsAccumulator


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: TreeWalkerStatsAccumulator.java,v 1.5 2006/10/30 21:14:26 bostic Exp $
7  */

8
9 package com.sleepycat.je.tree;
10
11 /**
12  * Accumulates stats about a tree during tree walking.
13  */

14 public interface TreeWalkerStatsAccumulator {
15     public void processIN(IN node, Long JavaDoc nid, int level);
16
17     public void processBIN(BIN node, Long JavaDoc nid, int level);
18
19     public void processDIN(DIN node, Long JavaDoc nid, int level);
20
21     public void processDBIN(DBIN node, Long JavaDoc nid, int level);
22
23     public void processDupCountLN(DupCountLN node, Long JavaDoc nid);
24
25     public void incrementLNCount();
26
27     public void incrementDeletedLNCount();
28 }
29
Popular Tags