struct Conveyor::Job::Bogus
- Conveyor::Job::Bogus
- Conveyor::Job
- Struct
- Value
- Object
Overview
You can use this job type for testing empty jobs, such as benchmarking your job-processing infrastructure (compute infra and Redis).
Defined in:
job.crConstructors
-
.new(pull : JSON::PullParser)
You can use this job type for testing empty jobs, such as benchmarking your job-processing infrastructure (compute infra and Redis).
Instance Method Summary
-
#call
Override this method to provide this job's functionality.
-
#conveyor_job_type
You can use this job type for testing empty jobs, such as benchmarking your job-processing infrastructure (compute infra and Redis).
Instance methods inherited from struct Conveyor::Job
call
call,
enqueue(*, queue : String = self.queue, configuration config : Configuration = CONFIG) : String
enqueue,
schedule(in delay : Time::Span, queue : String = self.queue, configuration config : Configuration = CONFIG) : Stringschedule(at time : Time, queue : String = self.queue, configuration config : Configuration = CONFIG) : String schedule
Constructor methods inherited from struct Conveyor::Job
new(pull : JSON::PullParser)
new
Class methods inherited from struct Conveyor::Job
dequeue(id : String, *, configuration config : Configuration = CONFIG) : Nil
dequeue,
max_attempts(max_attempts : Int32)max_attempts : Int32 max_attempts, unschedule(id : String, configuration config : Configuration = CONFIG) : Nil unschedule
Macros inherited from struct Conveyor::Job
queue(name)
queue
Constructor Detail
You can use this job type for testing empty jobs, such as benchmarking your job-processing infrastructure (compute infra and Redis).
Instance Method Detail
Override this method to provide this job's functionality.
You can use this job type for testing empty jobs, such as benchmarking your job-processing infrastructure (compute infra and Redis).