public class SegmentStrLock extends Object implements KeyLock
SegmentStrLock(int size)
LockEntity
lock(String key)
void
unlock(LockEntity reentrantLock)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SegmentStrLock(int size)
public LockEntity lock(String key)
lock
KeyLock
public void unlock(LockEntity reentrantLock)
unlock
Copyright © 2020. All rights reserved.