@Override
  public CompletableFuture<PutResult> updateBlobTtlAndStateToReady(NamedBlobRecord record) {
    return executeTransactionAsync(record.getAccountName(), record.getContainerName(), true,
        (accountId, containerId, connection) -> {
          long startTime = this.time.milliseconds();
          logger.trace("Updating ttl and status to READY for Named Blob: {}", record);
          PutResult result = apply_ttl_update(record, accountId, containerId, connection);
          metricsRecoder.namedTtlupdateTimeInMs.update(this.time.milliseconds() - startTime);
          return result;
        }, null);
  }
Constructor to create the Metrics.
@param metricRegistry The {@link MetricRegistry}.
ambry-named-mysql/src/main/java/com/github/ambry/named/MySqlNamedBlobDb.java