Class: SidekiqRobustJob::EnqueueConflictResolutionStrategy::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/sidekiq_robust_job/enqueue_conflict_resolution_strategy/base.rb

Direct Known Subclasses

DoNothing, DropSelf, Replace

Instance Method Summary collapse

Constructor Details

#initialize(jobs_repository:, clock:) ⇒ Base

Returns a new instance of Base.



7
8
9
10
# File 'lib/sidekiq_robust_job/enqueue_conflict_resolution_strategy/base.rb', line 7

def initialize(jobs_repository:, clock:)
  @jobs_repository = jobs_repository
  @clock = clock
end

Instance Method Details

#execute(_job) ⇒ Object



12
13
14
# File 'lib/sidekiq_robust_job/enqueue_conflict_resolution_strategy/base.rb', line 12

def execute(_job)
  raise "implement me"
end