boolean logRequest() {
    boolean alreadyOwned = lock.isHeldByCurrentThread();
    if (!alreadyOwned) {
      if (LOG.isDebugEnabled()) {
        LOG.debug("{}request {} from {}", label, lock, getFilteredStackTrace());
      }
      lockRequestTime.set(ticker.read());
    }
    return alreadyOwned;
  }
Should be called by the lock to indicate that the lock was requested.

@return whether the lock was already owned by the current thread
ambari-server/src/main/java/org/apache/ambari/server/logging/LockProfileDelegate.java