| java.lang.Object org.griphyn.cPlanner.partitioner.ClustererCallback
ClustererCallback | public class ClustererCallback implements Callback(Code) | | A Callback implementation that passes the partitions detected during the
partitioning of the worflow to a Clusterer for clustering. The clusterer
is passed off to the callback during the callback initialization.
author: Karan Vahi version: $Revision: 50 $ |
Method Summary | |
public void | cbDone() Callback for the partitioner to signal that it is done with the processing. | public void | cbParents(String child, List parents) Callback for when a partitioner determines the relations between partitions
that it has previously constructed. | public void | cbPartition(Partition p) Callback for when a partitioner determines that partition has been
constructed. | public void | initialize(PegasusProperties properties, Clusterer clusterer) Initializes the callback. |
ClustererCallback | public ClustererCallback()(Code) | | The default constructor.
|
cbDone | public void cbDone()(Code) | | Callback for the partitioner to signal that it is done with the processing.
|
cbParents | public void cbParents(String child, List parents)(Code) | | Callback for when a partitioner determines the relations between partitions
that it has previously constructed.
Parameters: child - the id of a partition. Parameters: parents - the list of String objects that containthe id's of the parents of the partition. throws: RuntimeException - in case of callback not being initialized, ora ClustererException being thrown during the Clusterer operation. |
cbPartition | public void cbPartition(Partition p)(Code) | | Callback for when a partitioner determines that partition has been
constructed. The partition is passed off to the clusterer that the
callback has been initialized with.
Parameters: p - the constructed partition. throws: RuntimeException - in case of callback not being initialized, ora ClustererException being thrown during the Clusterer operation. |
initialize | public void initialize(PegasusProperties properties, Clusterer clusterer)(Code) | | Initializes the callback.
Parameters: properties - the properties passed to the planner. Parameters: clusterer - the clusterer that has to be called out, in the callbackmethods. |
|
|