Class: OnlineMigrations::NullLockRetrier
- Inherits:
-
LockRetrier
- Object
- LockRetrier
- OnlineMigrations::NullLockRetrier
- Defined in:
- lib/online_migrations/lock_retrier.rb
Instance Method Summary collapse
- #attempts(_command = nil, _arguments = []) ⇒ Object
- #delay(_attempt, _command = nil, _arguments = []) ⇒ Object
- #lock_timeout ⇒ Object
- #with_lock_retries(_connection, _command = nil, *_arguments) ⇒ Object
Instance Method Details
#attempts(_command = nil, _arguments = []) ⇒ Object
244 245 246 |
# File 'lib/online_migrations/lock_retrier.rb', line 244 def attempts(_command = nil, _arguments = []) 0 end |
#delay(_attempt, _command = nil, _arguments = []) ⇒ Object
251 252 |
# File 'lib/online_migrations/lock_retrier.rb', line 251 def delay(_attempt, _command = nil, _arguments = []) end |
#lock_timeout ⇒ Object
248 249 |
# File 'lib/online_migrations/lock_retrier.rb', line 248 def lock_timeout(*) end |
#with_lock_retries(_connection, _command = nil, *_arguments) ⇒ Object
254 255 256 |
# File 'lib/online_migrations/lock_retrier.rb', line 254 def with_lock_retries(_connection, _command = nil, *_arguments) yield end |