DownloadRetryOptions Class
- java.
lang. Object - com.
azure. storage. file. share. models. DownloadRetryOptions
- com.
public final class DownloadRetryOptions
This class contains the configuration options used to download from the file share service using smart retries, starting from a checkpoint, rather than starting over from the beginning.
Constructor Summary
Constructor | Description | |
---|---|---|
DownloadRetryOptions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
getMaxRetryRequests()
Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. |
Download |
setMaxRetryRequests(int maxRetryRequests)
Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. |
Methods inherited from java.lang.Object
Constructor Details
DownloadRetryOptions
public DownloadRetryOptions()
Method Details
getMaxRetryRequests
public int getMaxRetryRequests()
Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body.
Returns:
setMaxRetryRequests
public DownloadRetryOptions setMaxRetryRequests(int maxRetryRequests)
Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body.
Parameters:
Returns:
Applies to
Azure SDK for Java