You are here

function KalturaBatchService::getExclusiveMailJobs in Kaltura 6.2

File

kaltura_client/KalturaClient.php, line 4979

Class

KalturaBatchService

Code

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