@Override
  public String toString() {
    return "[Id:" + caller
        + ", retryOnDuplicateKey:" + retryOnDuplicateKey
        + ", retryPropagation:" + retryPropagation
        + ", lockInternally:" + lockInternally
        + ", retryLimit:" + retryCount
        + ", deadlockLimit:" + 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