示例#1
0
        private static JobManager CreateJobWorkersManager()
        {
            var jobs = new IJob[]
            {
            };
            //var coordinator = new SingleServerJobCoordinator();
            var coordinator = new SingleServerJobCoordinator();
            //new WebFarmJobCoordinator(new )
            var manager = new JobManager(jobs, coordinator);

            //manager.Fail(ex => );
            return(manager);
        }
示例#2
0
        private static JobManager CreateJobWorkersManager()
        {
            var jobs = new IJob[]
            {

            };
            //var coordinator = new SingleServerJobCoordinator();
            var coordinator = new SingleServerJobCoordinator();
            //new WebFarmJobCoordinator(new )
            var manager = new JobManager(jobs, coordinator);
            //manager.Fail(ex => );
            return manager;
        }