private StoreException mapToStoreException(CloudStorageException cse) {
    if (cse.getCause() instanceof StoreException) {
      return (StoreException) cse.getCause();
    }
    StoreErrorCodes errorCode =
        (cse.getStatusCode() == STATUS_NOT_FOUND) ? StoreErrorCodes.IDNotFound : StoreErrorCodes.IOError;
    return new StoreException(cse, errorCode);
  }
Update the TTL of the specified blob if needed depending on the cache state asynchronously.
@param blobId the blob to update
@return a {@link CompletableFuture} that will eventually complete successfully if the update was performed or
        will contain a {@link CloudStorageException} if an error occurred.
ambry-cloud/src/main/java/com/github/ambry/cloud/CloudBlobStore.java