Module: RedisQueuedLocks::Acquirer::LockSeriesPoC::InstrVisitor Private
- Defined in:
- lib/redis_queued_locks/acquirer/lock_series_poc/instr_visitor.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.
NOTE: Lock Series PoC steep:ignore
Class Method Summary collapse
-
.lock_series_hold_and_release(instrumenter, instr_sampled, lock_keys, ttl, acq_id, hst_id, ts, acq_time, hold_time, instrument) ⇒ Object
private
NOTE: Lock Series PoC.
-
.lock_series_obtained(instrumenter, instr_sampled, lock_keys, ttl, acq_id, hst_id, ts, acq_time, instrument) ⇒ Object
private
NOTE: Lock Series PoC.
Class Method Details
.lock_series_hold_and_release(instrumenter, instr_sampled, lock_keys, ttl, acq_id, hst_id, ts, acq_time, hold_time, instrument) ⇒ Object
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.
NOTE: Lock Series PoC
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/redis_queued_locks/acquirer/lock_series_poc/instr_visitor.rb', line 32 def lock_series_hold_and_release( # steep:ignore instrumenter, instr_sampled, lock_keys, ttl, acq_id, hst_id, ts, acq_time, hold_time, instrument ) return unless instr_sampled instrumenter.notify('redis_queued_locks.lock_series_hold_and_release', { lock_keys:, hold_time:, ttl:, acq_id:, hst_id:, ts:, acq_time:, instrument: }) # rescue nil end |
.lock_series_obtained(instrumenter, instr_sampled, lock_keys, ttl, acq_id, hst_id, ts, acq_time, instrument) ⇒ Object
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.
NOTE: Lock Series PoC
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/redis_queued_locks/acquirer/lock_series_poc/instr_visitor.rb', line 12 def lock_series_obtained( # steep:ignore instrumenter, instr_sampled, lock_keys, ttl, acq_id, hst_id, ts, acq_time, instrument ) return unless instr_sampled instrumenter.notify('redis_queued_locks.lock_series_obtained', { lock_keys:, ttl:, acq_id:, hst_id:, ts:, acq_time:, instrument: }) rescue nil end |