C# 클래스 BlueCollar.Scheduler

Provides scheduling services for scheduled jobs.
상속: IScheduler
파일 보기 프로젝트 열기: ChadBurggraf/blue-collar

Private Properties

프로퍼티 타입 설명
CanScheduleBeEnqueued bool
EnqueueScheduledJobs void
RefreshSchedules void

공개 메소드들

메소드 설명
RefreshSchedules ( ) : void

Refreshes this instance's schedules with the latest data from the repository.

Scheduler ( long workerId, string applicationName, QueueNameFilters queueFilters, int heartbeat, IRepositoryFactory repositoryFactory, ILogger logger ) : System

Initializes a new instance of the Scheduler class.

비공개 메소드들

메소드 설명
CanScheduleBeEnqueued ( ScheduleRecord schedule, System.DateTime windowBegin, System.DateTime windowEnd, System.DateTime &scheduleDate ) : bool
EnqueueScheduledJobs ( ) : void
RefreshSchedules ( IRepository repository, IDbTransaction transaction ) : void

Refreshes this instance's schedules with the latest data from the repository.

메소드 상세

RefreshSchedules() 공개 메소드

Refreshes this instance's schedules with the latest data from the repository.
public RefreshSchedules ( ) : void
리턴 void

Scheduler() 공개 메소드

Initializes a new instance of the Scheduler class.
public Scheduler ( long workerId, string applicationName, QueueNameFilters queueFilters, int heartbeat, IRepositoryFactory repositoryFactory, ILogger logger ) : System
workerId long The ID of the worker the scheduler is scheduling for.
applicationName string The name of the application to schedule jobs for.
queueFilters QueueNameFilters The queues to process schedules for.
heartbeat int The heartbeat, in seconds, the system is polled for updates. Used to calculate scheduling windows.
repositoryFactory IRepositoryFactory The repository factory to use when accessing data.
logger ILogger The logger to use when logging messages.
리턴 System