public final class TransferManagerDownloadFromBlobOptions extends Object
TransferManager.| Constructor and Description |
|---|
TransferManagerDownloadFromBlobOptions() |
TransferManagerDownloadFromBlobOptions(Long chunkSize,
IProgressReceiver progressReceiver,
BlobAccessConditions accessConditions,
ReliableDownloadOptions reliableDownloadOptions,
Integer parallelism)
Returns an object that configures the parallel download behavior for methods on the
TransferManager. |
| Modifier and Type | Method and Description |
|---|---|
BlobAccessConditions |
accessConditions()
|
long |
chunkSize()
The size of the chunk into which large download operations will be broken into.
|
int |
parallelism()
A
int that indicates the maximum number of chunks to download in parallel. |
IProgressReceiver |
progressReceiver()
|
ReliableDownloadOptions |
reliableDownloadOptionsPerBlock()
|
public TransferManagerDownloadFromBlobOptions()
public TransferManagerDownloadFromBlobOptions(Long chunkSize, IProgressReceiver progressReceiver, BlobAccessConditions accessConditions, ReliableDownloadOptions reliableDownloadOptions, Integer parallelism)
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 - IProgressReceiveraccessConditions - BlobAccessConditionsreliableDownloadOptions - ReliableDownloadOptionsparallelism - 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.public long chunkSize()
reliableDownloadOptions to allow more retries.public IProgressReceiver progressReceiver()
public int parallelism()
int that indicates the maximum number of chunks to download in parallel. Must be greater than 0. May be
null to accept default behavior.public ReliableDownloadOptions reliableDownloadOptionsPerBlock()
public BlobAccessConditions accessConditions()
Copyright © 2019 Microsoft Corporation. All rights reserved.