Class: SidekiqUniqueJobs::OnConflict::NullStrategy

Inherits:
Strategy
  • Object
show all
Defined in:
lib/sidekiq_unique_jobs/on_conflict/null_strategy.rb

Overview

Default conflict strategy class that does nothing

Author:

Instance Attribute Summary

Attributes inherited from Strategy

#item, #redis_pool

Instance Method Summary collapse

Methods inherited from Strategy

#initialize, #replace?

Methods included from Timing

clock_stamp, now_f, time_source, timed

Methods included from Script::Caller

call_script, debug_lua, do_call, extract_args, max_history, normalize_argv, now_f, redis_version

Methods included from Logging

#build_message, included, #log_debug, #log_error, #log_fatal, #log_info, #log_warn, #logger, #logging_context, #with_configured_loggers_context, #with_logging_context

Methods included from JSON

dump_json, load_json, safe_load_json

Constructor Details

This class inherits a constructor from SidekiqUniqueJobs::OnConflict::Strategy

Instance Method Details

#callnil

Do nothing on conflict

Returns:

  • (nil)


11
12
13
# File 'lib/sidekiq_unique_jobs/on_conflict/null_strategy.rb', line 11

def call
  # NOOP
end