Struct gaffer::Builder [−][src]
pub struct Builder<J: Job + 'static> { /* fields omitted */ }
Expand description
Builder of JobRunner
Implementations
Enable merging of Jobs in the queue, if a merge function is provided here, it will be tried with each job added to the queue against each job already in the queue
Set a job as recurring, the job will be enqueued every time interval
passes since the last_enqueue
of a matching job
Function determining, for each priority, how many threads can be allocated to jobs of this priority, any remaining threads will be left idle to service higher-priority jobs. None
means parallelism won’t be limited