package
Version:
v1.35.2
Opens a new window with list of versions in this module.
Published: May 31, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Lock is a distributed lock based off Cassandra.
NewLock creates a new instance of a distributed locking mechanism based off Cassandra.
Acquire acquires a lease around a given resource. NB. Cassandra only allows ttl of seconds granularity
Forfeit forfeits an existing lease around a given resource.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.