@Override
  public CompletableFuture<List<StaleNamedBlob>> pullStaleBlobs() {
    TransactionStateTracker transactionStateTracker =
        new GetTransactionStateTracker(remoteDatacenters, localDatacenter);
    return executeGenericTransactionAsync(true, (connection) -> {
      long startTime = this.time.milliseconds();
      List<StaleNamedBlob> staleNamedBlobResults = runPullStaleBlobs(connection);
      metricsRecoder.namedBlobPullStaleTimeInMs.update(this.time.milliseconds() - startTime);
      return staleNamedBlobResults;
    }, transactionStateTracker);
  }
Constructor to create the Metrics.
@param metricRegistry The {@link MetricRegistry}.
ambry-named-mysql/src/main/java/com/github/ambry/named/MySqlNamedBlobDb.java