Property | Type | Description | |
---|---|---|---|
CanScheduleBeEnqueued | bool | ||
EnqueueScheduledJobs | void | ||
RefreshSchedules | void |
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
CanScheduleBeEnqueued ( |
||
EnqueueScheduledJobs ( ) : void | ||
RefreshSchedules ( IRepository repository, IDbTransaction transaction ) : void |
Refreshes this instance's schedules with the latest data from the repository.
|
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. |
return | System |