@Override
    public boolean tryLock() {
      boolean alreadyOwned = helper.logRequest();
      boolean result = super.tryLock();
      helper.logRequestCompleted(alreadyOwned, result);
      return result;
    }
@return true if any thread holds this lock (note that the read lock may be shared between threads, hence the different semantics)
ambari-server/src/main/java/org/apache/ambari/server/logging/ProfiledReentrantReadWriteLock.java