|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.classes.Data
edu.isi.pegasus.planner.classes.WorkflowMetrics
public class WorkflowMetrics
A Workflow metrics class that stores the metrics about the workflow.
| Field Summary | |
|---|---|
private String |
mDAXLabel
The label of the dax. |
private int |
mNumChmodJobs
|
private int |
mNumCleanupJobs
The number of cleanup jobs. |
private int |
mNumClusteredJobs
The number of clustered compute jobs. |
private int |
mNumComputeJobs
The number of compute jobs. |
private int |
mNumComputeTasks
The number of compute tasks in the DAX |
private int |
mNumCreateDirJobs
The number of create dir jobs. |
private int |
mNumDAGJobs
The number of DAG jobs in the workflow |
private int |
mNumDAGTasks
The number of DAG tasks in the DAX. |
private int |
mNumDAXJobs
The number of dax jobs in the workflow |
private int |
mNumDAXTasks
The number of DAX tasks in the DAX |
private int |
mNumInterTxJobs
The number of inter-site transfer jobs. |
private int |
mNumRegJobs
The number of registration jobs. |
private int |
mNumSITxJobs
The number of stage in transfer jobs. |
private int |
mNumSOTxJobs
The number of stage-out transfer jobs. |
private int |
mNumTotalJobs
The total number of jobs in the executable workflow. |
| Fields inherited from class edu.isi.pegasus.planner.classes.Data |
|---|
mLogger, mLogMsg |
| Constructor Summary | |
|---|---|
WorkflowMetrics()
The default constructor. |
|
| Method Summary | |
|---|---|
protected void |
append(StringBuffer buffer,
String key,
int value)
Appends a key=value pair to the StringBuffer. |
protected void |
append(StringBuffer buffer,
String key,
String value)
Appends a key=value pair to the StringBuffer. |
Object |
clone()
Returns the clone of the object. |
void |
decrement(Job job)
Decrement the metrics when on the basis of type of job. |
String |
getLabel()
Returns the DAXlabel. |
void |
increment(Job job)
Increment the metrics when on the basis of type of job. |
void |
reset()
Resets the internal counters to zero. |
void |
setLabel(String label)
Sets the DAXlabel. |
String |
toString()
Returns a textual description of the object. |
| Methods inherited from class edu.isi.pegasus.planner.classes.Data |
|---|
setToString, vectorToString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int mNumTotalJobs
private int mNumComputeJobs
private int mNumClusteredJobs
private int mNumSITxJobs
private int mNumSOTxJobs
private int mNumInterTxJobs
private int mNumRegJobs
private int mNumCleanupJobs
private int mNumCreateDirJobs
private int mNumDAXJobs
private int mNumDAGJobs
private int mNumChmodJobs
private int mNumComputeTasks
private int mNumDAXTasks
private int mNumDAGTasks
private String mDAXLabel
| Constructor Detail |
|---|
public WorkflowMetrics()
| Method Detail |
|---|
public void reset()
public void setLabel(String label)
label - the dax labelpublic String getLabel()
public void increment(Job job)
job - the job being added.public void decrement(Job job)
job - the job being removed.public String toString()
toString in class Data
protected void append(StringBuffer buffer,
String key,
String value)
buffer - the StringBuffer that is to be appended to.key - the key.value - the value.
protected void append(StringBuffer buffer,
String key,
int value)
buffer - the StringBuffer that is to be appended to.key - the key.value - the value.public Object clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||