Package | Description |
---|---|
com.netease.cloud.services.nos.transfer | |
com.netease.cloud.services.nos.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)
Sets the configuration which specifies how this
TransferManager processes requests. |
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 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 © 2017. All Rights Reserved.