MCPcopy Create free account
hub / github.com/burhanxz/Distributed-KV / lock

Method lock

rpc/src/rpc/lock/DistributedLock.java:14–14  ·  view source on GitHub ↗

@param lockName redis key的名字,即锁名 @return 返回一个lockSerialNumber(uuid)或null,如果加锁成功,则为uuid,以此为凭据进行解锁动作

(String lockName)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 14

invokeMethod · 0.95
EngineImplMethod · 0.65
putMethod · 0.65
getMethod · 0.65
mkRoomForWriteMethod · 0.65
callMethod · 0.65
serializeMemTableMethod · 0.65
majorCompactMethod · 0.65
memToSSTableMethod · 0.65
newSSTableMethod · 0.65
listMethod · 0.65
notifyMethod · 0.65

Implementers 1

RedisDistributedLockrpc/src/rpc/lock/RedisDistributedLock.

Calls

no outgoing calls

Tested by

no test coverage detected