Map<String, Long> getTimeSpentLocked() {
    return new TreeMap<>(timeSpentLocked);
  }
@return time spent holding the lock (in milliseconds) by thread name
ambari-server/src/main/java/org/apache/ambari/server/logging/LockProfileDelegate.java