public final class TransferManagerDownloadFromBlobOptions extends Object
TransferManager
.Modifier and Type | Field and Description |
---|---|
static TransferManagerDownloadFromBlobOptions |
DEFAULT
The default download options.
|
Constructor and Description |
---|
TransferManagerDownloadFromBlobOptions(Long chunkSize,
IProgressReceiver progressReceiver,
BlobAccessConditions accessConditions,
Integer parallelism,
ReliableDownloadOptions reliableDownloadOptions)
Returns an object that configures the parallel download behavior for methods on the
TransferManager . |
Modifier and Type | Method and Description |
---|---|
BlobAccessConditions |
accessConditions() |
long |
chunkSize() |
int |
parallelism() |
IProgressReceiver |
progressReceiver() |
ReliableDownloadOptions |
reliableDownloadOptionsPerBlock() |
public static final TransferManagerDownloadFromBlobOptions DEFAULT
public TransferManagerDownloadFromBlobOptions(Long chunkSize, IProgressReceiver progressReceiver, BlobAccessConditions accessConditions, Integer parallelism, ReliableDownloadOptions reliableDownloadOptions)
TransferManager
.chunkSize
- The size of the chunk into which large download operations will be broken into. Note that if the
chunkSize is large, fewer but larger requests will be made as each REST request will download a
single chunk in full. For larger chunk sizes, it may be helpful to configure the
reliableDownloadOptions
to allow more retries.progressReceiver
- IProgressReceiver
accessConditions
- BlobAccessConditions
parallelism
- A int
that indicates the maximum number of chunks to download in parallel. Must be greater
than 0. May be null to accept default behavior.reliableDownloadOptions
- ReliableDownloadOptions
public long chunkSize()
public IProgressReceiver progressReceiver()
public int parallelism()
public ReliableDownloadOptions reliableDownloadOptionsPerBlock()
public BlobAccessConditions accessConditions()
This documentation was released into the public domain.