org.griphyn.cPlanner.partitioner
Interface Callback

All Known Implementing Classes:
ClustererCallback, WriterCallback

public interface Callback

This interface defines the callback calls from the partitioners. The partitioners call out to the appropriate callback methods as and when they determine that a partition has been constructed.

Version:
$Revision: 50 $
Author:
Karan Vahi

Method Summary
 void cbDone()
          Callback for the partitioner to signal that it is done with the processing.
 void cbParents(String child, List parents)
          Callback for when a partitioner determines the relations between partitions that it has previously constructed.
 void cbPartition(Partition partition)
          Callback for when a partitioner determines that partition has been constructed.
 

Method Detail

cbPartition

void cbPartition(Partition partition)
Callback for when a partitioner determines that partition has been constructed.

Parameters:
partition - the constructed partition.

cbParents

void cbParents(String child,
               List parents)
Callback for when a partitioner determines the relations between partitions that it has previously constructed.

Parameters:
child - the id of a partition.
parents - the list of String objects that contain the id's of the parents of the partition.

cbDone

void cbDone()
Callback for the partitioner to signal that it is done with the processing.



Copyright © 2007 The University of Southern California. All Rights Reserved.