| java.lang.Object org.griphyn.cPlanner.classes.Data org.griphyn.cPlanner.classes.WorkflowMetrics
WorkflowMetrics | public class WorkflowMetrics extends Data (Code) | | A Workflow metrics class that stores the metrics about the workflow.
author: Karan Vahi version: $Revision: 319 $ |
WorkflowMetrics | public WorkflowMetrics()(Code) | | The default constructor.
|
append | protected void append(StringBuffer buffer, String key, String value)(Code) | | Appends a key=value pair to the StringBuffer.
Parameters: buffer - the StringBuffer that is to be appended to. Parameters: key - the key. Parameters: value - the value. |
append | protected void append(StringBuffer buffer, String key, int value)(Code) | | Appends a key=value pair to the StringBuffer.
Parameters: buffer - the StringBuffer that is to be appended to. Parameters: key - the key. Parameters: value - the value. |
clone | public Object clone()(Code) | | Returns the clone of the object.
the clone |
decrement | public void decrement(SubInfo job)(Code) | | Decrement the metrics when on the basis of type of job.
Parameters: job - the job being removed. |
getLabel | public String getLabel()(Code) | | Returns the DAXlabel.
the dax label |
increment | public void increment(SubInfo job)(Code) | | Increment the metrics when on the basis of type of job.
Parameters: job - the job being added. |
reset | public void reset()(Code) | | Resets the internal counters to zero.
|
setLabel | public void setLabel(String label)(Code) | | Sets the DAXlabel.
Parameters: label - the dax label |
toString | public String toString()(Code) | | Returns a textual description of the object.
Object |
|
|