public void deployTaskMachine(crawlerDomainTaskMachine cDTM) { TimeForObligatoryReport = cDTM.TimeForObligatoryReport; TimeLimitForCompleteJob = cDTM.TimeLimitForCompleteJob; TimeLimitForTask = cDTM.TimeLimitForTask; TimeLimitForDomainCrawl = cDTM._timeLimitForDLC; LoadForMemoryFlush = cDTM.LoadForMemoryFlush; }
/// <summary> /// Here the webSiteProfile is used to create crawlDomainTask and wRecords /// </summary> /// <param name="__tRecord">The t record.</param> /// <param name="__sample">The sample.</param> /// <param name="__parent">The parent.</param> public crawlerDomainTaskCollection(modelSpiderTestRecord __tRecord, List <webSiteProfile> __sample, crawlerDomainTaskMachine __parent) { sampleSize = __sample.Count(); tRecord = __tRecord; parent = __parent; foreach (webSiteProfile profile in __sample) { //var crawlerContext = tRecord.aRecord.crawledContextGlobalRegister.GetContext(profile.domain, tRecord.aRecord.sciProject.mainWebCrawler.mainSettings, profile, tRecord.aRecord.testRunStamp); var task = new crawlerDomainTask(profile, this); items.Enqueue(task); } }
public performanceResources(string __name, crawlerDomainTaskMachine __cDTM) : base(__name) { cDTM = __cDTM; }