@Override
  public QuotaRecommendation recommend(RestRequest restRequest) {
    if (!RestUtils.isUploadRequest(restRequest)) {
      // This is not an upload request, it doesn't change any storage footprint of this account/container.
      // Storage quota will not be enforced on this request.
      return IGNORE_STORAGE_QUOTA_RECOMMENDATION;
    }
    Pair<Long, Long> pair = getQuotaAndUsage(restRequest);
    return recommendBasedOnQuotaAndUsage(pair);
  }
Constructor to instantiate a new {@link StorageQuotaEnforcer}.
@param storageQuotaConfig the {@link StorageQuotaConfig}.
@param quotaSource the {@link QuotaSource} to get the quota.
@param storageUsageRefresher the {@link StorageUsageRefresher} to refresh the storage usage for each container.
@throws Exception
ambry-quota/src/main/java/com/github/ambry/quota/storage/StorageQuotaEnforcer.java