Module: Joblin::Batching

Defined in:
lib/joblin/batching/batch.rb,
lib/joblin/batching/pool.rb,
lib/joblin/batching/compat.rb,
lib/joblin/batching/status.rb,
lib/joblin/batching/callback.rb,
lib/joblin/batching/context_hash.rb,
lib/joblin/batching/chain_builder.rb,
lib/joblin/batching/jobs/base_job.rb,
lib/joblin/batching/compat/sidekiq.rb,
lib/joblin/batching/compat/active_job.rb,
lib/joblin/batching/jobs/serial_batch_job.rb,
lib/joblin/batching/jobs/managed_batch_job.rb,
lib/joblin/batching/jobs/concurrent_batch_job.rb

Overview

Implement Job Batching similar to Sidekiq::Batch. Supports ActiveJob and Sidekiq, or a mix thereof. Much of this code is modifed/extended from github.com/breamware/sidekiq-batch

Defined Under Namespace

Modules: Compat Classes: BaseJob, Batch, ChainBuilder, ConcurrentBatchJob, ContextHash, ManagedBatchJob, Pool, SerialBatchJob

Constant Summary collapse

CURRENT_BATCH_THREAD_KEY =
:job_batches_batch