166167168169170171172173174
if( tryGetLock()) return; timeRemaining = startTime + waitTime - System.currentTimeMillis(); isWaiting = (timeRemaining > 0); } throw new TimedoutException(); } } }