MCPcopy
hub / github.com/olric-data/olric / Unlock

Method Unlock

client.go:61–61  ·  view source on GitHub ↗

Unlock releases an acquired lock for the given key. It returns ErrNoSuchLock if there is no lock for the given key.

(ctx context.Context)

Source from the content-addressed store, hash-verified

59 // Unlock releases an acquired lock for the given key. It returns ErrNoSuchLock
60 // if there is no lock for the given key.
61 Unlock(ctx context.Context) error
62
63 // Lease sets or updates the timeout of the acquired lock for the given key.
64 // It returns ErrNoSuchLock if there is no lock for the given key.

Callers 15

addCommandMethod · 0.65
execOnPartitionMethod · 0.65
DiscardMethod · 0.65
UnlockMethod · 0.65
setOrGetClusterClientMethod · 0.65
newTestOlricClusterFunction · 0.65
addMemberWithConfigMethod · 0.65
loadRouteMethod · 0.65

Implementers 3

EmbeddedLockContextembedded_client.go
ClusterLockContextcluster_client.go
DMapinternal/dmap/dmap.go

Calls

no outgoing calls