Note: This method disregards the fairness setting of this monitor. @return whether the monitor was entered
5758596061626364656667
public boolean tryLock(Object name) { Monitor lock; synchronized (stringLocks) { lock = stringLocks.getUnchecked(name); } return lock.tryEnter(); } /** * A simple Guava cache loader implementation for generating object-based locks */