Module: RedisQueuedLocks::Acquirer::Queues Private
- Defined in:
- lib/redis_queued_locks/acquirer/queues.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
Class Method Details
.queues(redis_client, scan_size:, with_info:) ⇒ Set<String>, Set<Hash<Symbol,Any>>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 16 17 18 19 |
# File 'lib/redis_queued_locks/acquirer/queues.rb', line 14 def queues(redis_client, scan_size:, with_info:) redis_client.with do |rconn| lock_queues = scan_queues(rconn, scan_size) with_info ? extract_queues_info(rconn, lock_queues) : lock_queues end end |