Namespace com.teracloud.streams.lock.distributed
Functions
- dlAcquireLock(uint64, float64, float64, uint64): Acquire lock, with an explicit lease time in seconds and a maximum time to wait to acquire the lock.
- dlAcquireLock(uint64, uint64): Acquire a distributed lock.
- dlCreateOrGetLock(rstring, uint64): Create a new distributed lock with a given name or get it if it already exists.
- dlGetLastDistributedLockErrorCode(): Get the error code of the last DL error
- dlGetLastDistributedLockErrorString(): Get the description of the error that occurred on the most recently executed operation in the DL API, if any.
- dlGetPidForLock(rstring, uint64): Get the process id that is currently holding a given lock.
- dlReleaseLock(uint64, uint64): Release the given distributed lock id.
- dlRemoveLock(uint64, uint64): Remove the distributed lock with the given id.