use of org.gridlab.gat.monitoring.MetricDefinition in project compss by bsc-wdc.
the class GATJob method stop.
@Override
public void stop() throws Exception {
logger.debug("GAT stop job " + this.jobId);
if (GATjob != null) {
MetricDefinition md = GATjob.getMetricDefinitionByName(JOB_STATUS);
Metric m = md.createMetric();
GATjob.removeMetricListener(this, m);
GATjob.stop();
}
}
Aggregations