- D
- L
- P
- R
- S
- U
Instance Public methods
done_running() Link
Source: show
# File activesupport/lib/active_support/dependencies/interlock.rb, line 32 def done_running @lock.stop_sharing end
done_unloading() Link
Source: show
# File activesupport/lib/active_support/dependencies/interlock.rb, line 24 def done_unloading @lock.stop_exclusive(compatible: [:load, :unload]) end
loading(&block) Link
Source: show
# File activesupport/lib/active_support/dependencies/interlock.rb, line 12 def loading(&block) @lock.exclusive(purpose: :load, compatible: [:load], after_compatible: [:load], &block) end
permit_concurrent_loads(&block) Link
Source: show
# File activesupport/lib/active_support/dependencies/interlock.rb, line 40 def permit_concurrent_loads(&block) @lock.yield_shares(compatible: [:load], &block) end
running(&block) Link
Source: show
# File activesupport/lib/active_support/dependencies/interlock.rb, line 36 def running(&block) @lock.sharing(&block) end
start_running() Link
Source: show
# File activesupport/lib/active_support/dependencies/interlock.rb, line 28 def start_running @lock.start_sharing end