int getDeadlockCount() {
    return deadlockCount;
  }
Internal usage by {@link SqlRetryHandler}. Sets the remaining deadlock-retry attemps during retry-calls.
@param deadlockCount The remaining deadlock-retry attempts.
@return itself
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/retry/SqlRetryCallProperties.java