for(MetricInfo metricInfo : MetricList) {
taskMetricInfo.updateMetricData(metricInfo);
}
List<String> errors = taskMetricInfo.anyQueueFull();
if (errors.size() > 0) {
for (String error : errors)
clusterState.report_task_error(topologyId, Integer.valueOf(taskId), error);
}