Class: GlobalMutex
- Inherits:
-
DistributedMutex
- Object
- Mutex
- DistributedMutex
- GlobalMutex
- Defined in:
- lib/global_mutex.rb
Overview
Simple global variable mutex, not production quality more as a test implementation for the super class.
Constant Summary
Constants inherited from DistributedMutex
DistributedMutex::DEFAULT_EXCEPTION_ON_TIMEOUT, DistributedMutex::DEFAULT_TIMEOUT
Instance Attribute Summary
Attributes inherited from DistributedMutex
#exception_on_timeout, #key, #timeout
Method Summary
Methods inherited from DistributedMutex
#excluse_unlock, #initialize, #lock, #locked?, #synchronize, synchronize, #try_lock, #unlock
Constructor Details
This class inherits a constructor from DistributedMutex