ostore.dataobj
Interface Btree.Callback

All Known Implementing Classes:
TputGenerateChkptTest.RemoveGuidsHelper
Enclosing interface:
Btree

public static interface Btree.Callback

This interface must be implemented by clients wishing to use any of the Depth-First Search (DFS) methods.


Method Summary
 Object callback(BtreeNode node, HandleStore handle_store)
          During a DFS, this method is called to performs operation on a btree node.
 

Method Detail

callback

public Object callback(BtreeNode node,
                       HandleStore handle_store)
                throws CacheException
During a DFS, this method is called to performs operation on a btree node. When using dfsPreorder, this method is called when a node is entered. When using dfsPostorder, this method is called just before a node is left.

Parameters:
node - the node in the btree which is to be acted upon
CacheException