Class: Synapse::Repository::NullLockManager
- Inherits:
-
LockManager
- Object
- LockManager
- Synapse::Repository::NullLockManager
- Defined in:
- lib/synapse/repository/lock_manager.rb
Overview
Implementation of a lock manager that does no locking
Instance Method Summary collapse
- #obtain_lock(aggregate_id) ⇒ undefined
- #release_lock(aggregate_id) ⇒ undefined
- #validate_lock(aggregate) ⇒ Boolean
Instance Method Details
#obtain_lock(aggregate_id) ⇒ undefined
47 |
# File 'lib/synapse/repository/lock_manager.rb', line 47 def obtain_lock(aggregate_id); end |
#release_lock(aggregate_id) ⇒ undefined
51 |
# File 'lib/synapse/repository/lock_manager.rb', line 51 def release_lock(aggregate_id); end |
#validate_lock(aggregate) ⇒ Boolean
41 42 43 |
# File 'lib/synapse/repository/lock_manager.rb', line 41 def validate_lock(aggregate) true end |