public long getTTLInMSForTree(String[] path) {
    lock.readLock().lock();
    try {
      return treeModelTTLCache.getClosestTTL(path);
    } finally {
      lock.readLock().unlock();
    }
  }
Get ttl without time precision conversion.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/cache/schema/DataNodeTTLCache.java