You are here

function KalturaBatchService::freeExclusiveImportJob in Kaltura 6.2

File

kaltura_client/KalturaClient.php, line 4826

Class

KalturaBatchService

Code

function freeExclusiveImportJob($id, $processorLocation, $pocessorName) {
  $kparams = array();
  $this->client
    ->addParam($kparams, "id", $id);
  $this->client
    ->addParam($kparams, "processorLocation", $processorLocation);
  $this->client
    ->addParam($kparams, "pocessorName", $pocessorName);
  $this->client
    ->queueServiceActionCall("batch", "freeExclusiveImportJob", $kparams);
  if ($this->client
    ->isMultiRequest()) {
    return null;
  }
  $resultObject = $this->client
    ->doQueue();
  $this->client
    ->throwExceptionIfError($resultObject);
  $this->client
    ->validateObjectType($resultObject, "KalturaBatchJob");
  return $resultObject;
}