Class BLRetryingUploader

java.lang.Object
com.io7m.brooklime.vanilla.internal.BLRetryingUploader

public final class BLRetryingUploader extends Object
An uploader that retries on failure.
  • Constructor Details

    • BLRetryingUploader

      public BLRetryingUploader(ScheduledExecutorService inExecutor, HttpClient inClient, URI inServiceURI, URI inTargetURI, Path inFile, int inFileIndex, int inFileCount, Duration inRetryDelay, int inMaxRetries, BLProgressCounter inCounter)
      An uploader that retries on failure.
      Parameters:
      inExecutor - A scheduled executor for statistics
      inClient - The HTTP client
      inServiceURI - The service URI
      inTargetURI - The target URI
      inFile - The file
      inFileIndex - The file index
      inFileCount - The file count
      inRetryDelay - The retry delay
      inMaxRetries - The maximum number of retries
      inCounter - The progress counter
  • Method Details