Class: ActiveJob::Uniqueness::Strategies::UntilExpired

Inherits:
Base
  • Object
show all
Includes:
LockingOnEnqueue
Defined in:
lib/active_job/uniqueness/strategies/until_expired.rb

Overview

Locks the job when it is pushed to the queue. Does not allow new jobs enqueued until lock is expired.

Constant Summary

Constants inherited from Base

Base::ACTIVEJOB_SUPPORTS_THROW_ABORT

Instance Attribute Summary

Attributes inherited from Base

#job, #lock_key, #lock_ttl, #on_conflict

Method Summary

Methods inherited from Base

#after_perform, #around_enqueue, #around_perform, #before_enqueue, #before_perform, #initialize, #lock, #unlock

Constructor Details

This class inherits a constructor from ActiveJob::Uniqueness::Strategies::Base