Lock locks the mutex that is used for the given key
(key string)
| 15 | type LockStore interface { |
| 16 | // Lock locks the mutex that is used for the given key |
| 17 | Lock(key string) |
| 18 | |
| 19 | // TryLock attempts to acquire the lock given the timeout. Returns |
| 20 | // true if it successfully acquire the lock. False otherwise |
no outgoing calls