@Override
  public void updateDatasetVersionTtl(String accountName, String containerName, String datasetName, String version)
      throws AccountServiceException {
    try {
      Pair<Short, Short> accountAndContainerIdPair = getAccountAndContainerIdFromName(accountName, containerName);
      if (mySqlAccountStore == null) {
        mySqlAccountStore = this.supplier.get();
      }
      mySqlAccountStore.updateDatasetVersionTtl(accountAndContainerIdPair.getFirst(),
          accountAndContainerIdPair.getSecond(), accountName, containerName, datasetName, version);
    } catch (SQLException e) {
      throw translateSQLException(e);
    }
  }
Get an existing container from a given account.
@param accountId the name of account which container belongs to.
@param containerId the id of container to get.
@return the requested {@link Container} object or null if not present.
@throws AccountServiceException if exception occurs when getting container.
ambry-account/src/main/java/com/github/ambry/account/CachedAccountService.java