Sha256: c67811ca897f8eac4f3be830c634916a0ea0f9560d13c804b697db1574d1ef6a

Contents?: true

Size: 1.05 KB

Versions: 10

Compression:

Stored size: 1.05 KB

Contents

require "active_support/concern"
require "rocket_job/batch/callbacks"
require "rocket_job/batch/io"
require "rocket_job/batch/logger"
require "rocket_job/batch/model"
require "rocket_job/batch/state_machine"
require "rocket_job/batch/throttle"
require "rocket_job/batch/throttle_running_workers"
require "rocket_job/batch/worker"
# Ensure after_perform is run first and #upload override is after IO#upload is defined.
require "rocket_job/batch/categories"

module RocketJob
  module Batch
    extend ActiveSupport::Concern

    include Model
    include StateMachine
    include Callbacks
    include Logger
    include Worker
    include Categories
    include Throttle
    include ThrottleRunningWorkers
    include IO

    autoload :LowerPriority, "rocket_job/batch/lower_priority"
    autoload :Performance, "rocket_job/batch/performance"
    autoload :Statistics, "rocket_job/batch/statistics"
    autoload :ThrottleWindows, "rocket_job/batch/throttle_windows"
    autoload :Result, "rocket_job/batch/result"
    autoload :Results, "rocket_job/batch/results"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rocketjob-6.3.1 lib/rocket_job/batch.rb
rocketjob-6.3.0 lib/rocket_job/batch.rb
rocketjob-6.2.0 lib/rocket_job/batch.rb
rocketjob-6.1.1 lib/rocket_job/batch.rb
rocketjob-6.1.0 lib/rocket_job/batch.rb
rocketjob-6.0.3 lib/rocket_job/batch.rb
rocketjob-6.0.2 lib/rocket_job/batch.rb
rocketjob-6.0.1 lib/rocket_job/batch.rb
rocketjob-6.0.0 lib/rocket_job/batch.rb
rocketjob-6.0.0.rc3 lib/rocket_job/batch.rb