Class: SidekiqUniqueJobs::ExpiringDigests
- Inherits:
-
Digests
- Object
- Redis::Entity
- Redis::SortedSet
- Digests
- SidekiqUniqueJobs::ExpiringDigests
- Defined in:
- lib/sidekiq_unique_jobs/expiring_digests.rb
Overview
Class ExpiringDigests provides access to the expiring digests used by until_expired locks
Constant Summary
Constants inherited from Digests
Digests::DEFAULT_COUNT, Digests::EMPTY_KEYS_SEGMENT, Digests::SCAN_PATTERN
Constants inherited from Redis::SortedSet
Redis::SortedSet::DEFAULT_COUNT, Redis::SortedSet::SCAN_PATTERN
Instance Attribute Summary
Attributes inherited from Redis::Entity
Instance Method Summary collapse
-
#initialize ⇒ ExpiringDigests
constructor
A new instance of ExpiringDigests.
Methods inherited from Digests
#add, #delete_by_digest, #delete_by_pattern, #entries, #page
Methods inherited from Redis::SortedSet
#add, #clear, #count, #entries, #rank, #score
Methods inherited from Redis::Entity
#count, #exist?, #expires?, #pttl, #ttl
Methods included from Timing
clock_stamp, now_f, time_source, timed
Methods included from JSON
dump_json, load_json, safe_load_json
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
Constructor Details
#initialize ⇒ ExpiringDigests
Returns a new instance of ExpiringDigests.
10 11 12 |
# File 'lib/sidekiq_unique_jobs/expiring_digests.rb', line 10 def initialize super(EXPIRING_DIGESTS) end |