@Deprecated public void lockInterruptibly() throws InterruptedException
lockInterruptibly 在接口中 LockInterruptedExceptionpublic boolean tryLock(long time,
TimeUnit unit)
throws InterruptedException
tryLock 在接口中 LockInterruptedExceptionpublic Condition newCondition()
newCondition 在接口中 LockCopyright © 2022. All rights reserved.