public class ReentrantLock extends Object implements Closeable
ReentrantLock(LockContext context)
void
close()
lock(String bizName, String bizValue)
boolean
tryLock(String bizName, String bizValue)
unlock(String bizName)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ReentrantLock(LockContext context) throws CrabException
CrabException
public void lock(String bizName, String bizValue)
public boolean tryLock(String bizName, String bizValue)
public void unlock(String bizName)
public void close()
close
Closeable
AutoCloseable
Copyright © 2018. All rights reserved.