Class BulkDeleteRetryHandler

java.lang.Object
org.apache.hadoop.fs.s3a.impl.AbstractStoreOperation
org.apache.hadoop.fs.s3a.impl.BulkDeleteRetryHandler

public class BulkDeleteRetryHandler extends AbstractStoreOperation
Handler for bulk delete retry events.
  • Field Details

    • XML_PARSE_BROKEN

      public static final String XML_PARSE_BROKEN
      This is an error string we see in exceptions when the XML parser failed: "Failed to parse XML document".
      See Also:
  • Constructor Details

    • BulkDeleteRetryHandler

      public BulkDeleteRetryHandler(StoreContext storeContext)
      Constructor.
      Parameters:
      storeContext - context
  • Method Details

    • incrementStatistic

      protected void incrementStatistic(Statistic statistic)
      Increment a statistic by 1. This increments both the instrumentation and storage statistics.
      Parameters:
      statistic - The operation to increment
    • incrementStatistic

      protected void incrementStatistic(Statistic statistic, long count)
      Increment a statistic by a specific value. This increments both the instrumentation and storage statistics.
      Parameters:
      statistic - The operation to increment
      count - the count to increment
    • bulkDeleteRetried

      public void bulkDeleteRetried(software.amazon.awssdk.services.s3.model.DeleteObjectsRequest deleteRequest, Exception ex)
      Handler for failure of bulk delete requests.
      Parameters:
      deleteRequest - request which was retried.
      ex - exception