C# Class QualityBotDaemon.Worker

Afficher le fichier Open project: Ancestry/quality-bot Class Usage Examples

Méthodes publiques

Méthode Description
DoCompare ( Job job ) : void
DoJob ( Job job ) : void
Poll ( ) : void

Does work until no work is found, and then it polls for more work every 10 seconds. Could multi-thread this, but it's just as trivial to load multiple instances.

Worker ( IService service, IJobsDb jobsDb ) : System

Method Details

DoCompare() public méthode

public DoCompare ( Job job ) : void
job Job
Résultat void

DoJob() public méthode

public DoJob ( Job job ) : void
job Job
Résultat void

Poll() public méthode

Does work until no work is found, and then it polls for more work every 10 seconds. Could multi-thread this, but it's just as trivial to load multiple instances.
public Poll ( ) : void
Résultat void

Worker() public méthode

public Worker ( IService service, IJobsDb jobsDb ) : System
service IService
jobsDb IJobsDb
Résultat System