Uses of Class
io.permazen.kv.simple.LockOwner
Packages that use LockOwner
-
Uses of LockOwner in io.permazen.kv.simple
Methods in io.permazen.kv.simple with parameters of type LockOwnerModifier and TypeMethodDescriptionlong
LockManager.checkHoldTimeout
(LockOwner owner) Check whether the hold timeout has expired for the given lock owner and if not return the amount of time remaining.boolean
Determine if the given lock owner holds a lock on the specified range.LockManager.lock
(LockOwner owner, ByteData minKey, ByteData maxKey, boolean write, long waitTimeout) Acquire a lock on behalf of the specified owner.boolean
Release all locks held by the specified owner.