public class ReleasableLock extends Object implements Releasable
public ReleasableLock(Lock lock)
public void close()
close 在接口中 Releasableclose 在接口中 Closeableclose 在接口中 AutoCloseablepublic ReleasableLock acquire() throws BizException
BizExceptionpublic boolean isHeldByCurrentThread()
Copyright © 2021. All rights reserved.