public static function getBatchStatus($args)
 {
     $batch_status = new batchStatus();
     $batch_status->batch_name = $args[0];
     $batch_status->addToPending("Disk:" . $args[1] . "*" . kConversionHelper::INDICATOR_SUFFIX, $batch_status->getDiskStatsCount($args[0], $args[1], "*" . kConversionHelper::INDICATOR_SUFFIX));
     $batch_status->addToInProc("Disk:" . $args[1] . "*" . kConversionHelper::INPROC_SUFFIX, $batch_status->getDiskStatsCount($args[0], $args[1], "*" . kConversionHelper::INPROC_SUFFIX));
     list($a, $batch_status->last_log_time) = $batch_status->getLogData($batch_status->batch_name);
     return $batch_status;
 }
 public static function getBatchStatus($args)
 {
     //print_r ( $args );
     $mode = $args[3];
     $batch_status = new batchStatus();
     $batch_status->batch_name = $args[0];
     $batch_status->addToPending("Disk:" . $args[1] . "*" . kConversionHelper::INDICATOR_SUFFIX, $batch_status->getDiskStatsCount($args[0], $args[1], "*" . kConversionHelper::INDICATOR_SUFFIX));
     // bellow - from the fact this is infact a kConversionClientBase
     $batch_status->addToInProc("Disk:" . $args[1] . "*" . kConversionHelper::INPROC_SUFFIX, $batch_status->getDiskStatsCount($args[0], $args[1], "*" . kConversionHelper::INPROC_SUFFIX));
     $batch_status->addToInProc("Disk:" . $args[2] . "*" . kConversionHelper::INDICATOR_SUFFIX, $batch_status->getDiskStatsCount($args[0], $args[2], "*" . kConversionHelper::INDICATOR_SUFFIX));
     $batch_status->addToInProc("Disk:" . $args[2] . "*" . kConversionHelper::INPROC_SUFFIX, $batch_status->getDiskStatsCount($args[0], $args[2], "*" . kConversionHelper::INPROC_SUFFIX));
     list($a, $batch_status->last_log_time) = $batch_status->getLogData($args[0]);
     return $batch_status;
 }