コード例 #1
0
        public void PauseLearningModel(Guid guid)
        {
            ILearningModel learningModel = this.GetLearningModel(guid);

            if (learningModel == null)
            {
                return;
            }

            /* TODO: Make sure the given learning task is paused */
            m_workerPool.PauseTask(learningModel);
        }
コード例 #2
0
ファイル: ScraperService.cs プロジェクト: boobooo42/LX4
        public void PauseScraper(Guid guid)
        {
            IScraper scraper = this.GetScraper(guid);

            if (scraper == null)
            {
                return;
            }

            /* TODO: Make sure the given scraper task is paused */
            m_workerPool.PauseTask(scraper);
        }