【RedissonClient】tryLock() 为什么做到了服务崩溃,lock也不会一直被占有?
源码解释:org.redisson.RedissonLock#tryAcquireOnceAsyncprivateRFuturetryAcquireOnceAsync(longleaseTime,TimeUnitunit,finallongthreadId){if(leaseTime!=-1){returntryLockInnerAsync(leaseTime,unit,threadId,Redi