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