Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3.transfer |
Transfer management.
|
com.ibm.cloud.objectstorage.services.s3.transfer.internal |
Modifier and Type | Method and Description |
---|---|
TransferManagerConfiguration |
TransferManager.getConfiguration()
Returns the configuration which specifies how
this
TransferManager processes requests. |
Modifier and Type | Method and Description |
---|---|
void |
TransferManager.setConfiguration(TransferManagerConfiguration configuration)
Deprecated.
use appropriate method on the
TransferManagerBuilder for example:
TransferManagerBuilder.standard().withMinimumUploadPartSize(100L).build(); |
Modifier and Type | Method and Description |
---|---|
static long |
TransferManagerUtils.calculateOptimalPartSize(PutObjectRequest putObjectRequest,
TransferManagerConfiguration configuration)
Returns the optimal part size, in bytes, for each individual part upload
in a multipart upload.
|
static long |
TransferManagerUtils.calculateOptimalPartSizeForCopy(CopyObjectRequest copyObjectRequest,
TransferManagerConfiguration configuration,
long contentLengthOfSource)
Calculates the optimal part size of each part request if the copy
operation is carried out as multi-part copy.
|
static boolean |
TransferManagerUtils.shouldUseMultipartUpload(PutObjectRequest putObjectRequest,
TransferManagerConfiguration configuration)
Returns true if the the specified request should be processed as a
multipart upload (instead of a single part upload).
|
Copyright © 2024. All rights reserved.