Module: CanvasSync::JobUniqueness
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/canvas_sync/job_uniqueness/compat.rb,
lib/canvas_sync/job_uniqueness/strategy.rb,
lib/canvas_sync/job_uniqueness/locksmith.rb,
lib/canvas_sync/job_uniqueness/on_conflict.rb,
lib/canvas_sync/job_uniqueness/lock_context.rb,
lib/canvas_sync/job_uniqueness/configuration.rb,
lib/canvas_sync/job_uniqueness/strategy/base.rb,
lib/canvas_sync/job_uniqueness/compat/sidekiq.rb,
lib/canvas_sync/job_uniqueness/job_uniqueness.rb,
lib/canvas_sync/job_uniqueness/on_conflict/log.rb,
lib/canvas_sync/job_uniqueness/on_conflict/base.rb,
lib/canvas_sync/job_uniqueness/compat/active_job.rb,
lib/canvas_sync/job_uniqueness/on_conflict/raise.rb,
lib/canvas_sync/job_uniqueness/unique_job_common.rb,
lib/canvas_sync/job_uniqueness/on_conflict/reject.rb,
lib/canvas_sync/job_uniqueness/on_conflict/reschedule.rb,
lib/canvas_sync/job_uniqueness/strategy/until_expired.rb,
lib/canvas_sync/job_uniqueness/strategy/until_executed.rb,
lib/canvas_sync/job_uniqueness/strategy/until_executing.rb,
lib/canvas_sync/job_uniqueness/strategy/while_executing.rb,
lib/canvas_sync/job_uniqueness/on_conflict/null_strategy.rb,
lib/canvas_sync/job_uniqueness/strategy/until_and_while_executing.rb
Defined Under Namespace
Modules: Compat, OnConflict, Strategy, UniqueJobCommon
Classes: Configuration, Conflict, CouldNotLockError, LockContext, Locksmith
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
39
40
41
|
# File 'lib/canvas_sync/job_uniqueness/job_uniqueness.rb', line 39
def config
@config ||= Configuration.new
end
|
35
36
37
|
# File 'lib/canvas_sync/job_uniqueness/job_uniqueness.rb', line 35
def configure
yield config
end
|
.logger ⇒ Object
43
44
45
|
# File 'lib/canvas_sync/job_uniqueness/job_uniqueness.rb', line 43
def logger
CanvasSync.logger
end
|