@Override
  public void markPartitionForEvent(
      String dbName, String tblName, Map<String, String> partKVs, PartitionEventType eventType)
      throws TException {
    assert dbName != null;
    assert tblName != null;
    assert partKVs != null;
    client.markPartitionForEvent(dbName, tblName, partKVs, eventType);
  }
Creates a synchronized wrapper for any {@link IMetaStoreClient}. This may be used by
multi-threaded applications until we have fixed all reentrancy bugs.

@param client unsynchronized client
@return synchronized client
amoro-format-mixed/amoro-mixed-trino/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java