lc.log(log::ERR,"In Sorter::insertRetrieveRequest() Failed to determine destination queue for retrieve request.");
throwex;
}
}else{
throwcta::exception::Exception("In Sorter::insertRetrieveRequest(), there is no ToTransfer jobs in the RetrieveRequest. Please provide the copyNb of the job you want to queue.");
* This method will take the first list<ArchiveJobQueueInfo> contained in the MapArchive, queue all Archive jobs contained in it and delete the list from the map
* @param lc the LogContext for logging
...
...
@@ -103,6 +123,16 @@ public:
uint64_tfileSize;
uint64_tfSeq;
common::dataStructures::MountPolicymountPolicy;
cta::objectstore::JobQueueTypejobQueueType;
};
/**
* This structure holds the datas the user have to
* give to insert a RetrieveRequest without any fetch needed on the Request
* This method is the same as the one above. The difference is on the representation of a RetrieveRequest
* @param retrieveRequest the SorterRetrieveRequest object created by the user before calling this method
* @param previousOwner the previous owner of the retrieveRequest to insert
* @param if copyNb is nullopt, then the job we want to queue is supposed to be a ToTransfer job (if no job ToTransfer are present in the RetrieveJobs, an exception