503
503
* Looks up an entry. Blocks if the entry is null until a call to {@link #put} is done
508
512
* Note. If a LockTimeoutException is thrown while doing a {@link #get} it means the lock was never acquired,
509
513
* therefore it is a threading error to call {@link #put}
511
515
* @throws LockTimeoutException if timeout millis is non zero and this method has been unable to
512
516
* acquire a lock in that time
515
521
Mutex lock = getLockForKey(key);
517
523
if (timeoutMillis == 0) {