public boolean tryLock(long timeoutMs) throws InterruptedException {
    stopper.checkCancelInProgress(null);
    return lock.tryLock(timeoutMs, TimeUnit.MILLISECONDS);
  }
@param timeoutMs how long to wait in milliseconds
@return true if the lock was acquired
geode-core/src/main/java/org/apache/geode/internal/util/concurrent/StoppableReentrantLock.java