3031323334353637
if(!getLock(readOnly).tryLock(timeout, TimeUnit.MILLISECONDS)){ throw new LockException(timeout); } } catch (InterruptedException e) { throw new LockInterruptedException(e); } }