Interface for distributed lock strategies.
Definition in file dist_lock_strategy.hpp.
Go to the source code of this file.
Classes | |
| class | dist_lock::LockIsAcquiredByAnotherHostException |
| Indicates that lock cannot be acquired because it's busy. More... | |
| struct | dist_lock::LockOperationOptions |
| Parameters for dist_lock::DistLockStrategyBase::ExecuteOperation. More... | |
| struct | dist_lock::ReleaseOptions |
| Parameters for dist_lock::DistLockStrategyBase::Release. More... | |
| class | dist_lock::DistLockStrategyBase |
| Interface for distributed lock strategies. More... | |
Namespaces | |
| namespace | dist_lock |
| Distributed locking. | |
Enumerations | |
| enum class | dist_lock::LockOperation { dist_lock::kAcquire , dist_lock::kProlong , dist_lock::kCheck , dist_lock::kFallback } |
| Operation performed by dist_lock::DistLockStrategyBase::ExecuteOperation. More... | |
| enum class | dist_lock::LockOperationResult { dist_lock::kAcquired , dist_lock::kBusy , dist_lock::kNotAlive , dist_lock::kUnsupported } |
| Expected outcome of a distributed lock operation. Backend failures still throw. More... | |