public static class TransferConfig.Builder
extends java.lang.Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
TransferConfig |
build() |
TransferConfig.Builder |
setDividsionForCopy(long division)
设置启用分块复制的最小对象大小
|
TransferConfig.Builder |
setDivisionForUpload(long division)
设置启用分块上传的最小对象大小
|
TransferConfig.Builder |
setForceSimpleUpload(boolean forceSimpleUpload) |
TransferConfig.Builder |
setSliceSizeForCopy(long sliceSize)
设置分块复制时的分块大小
|
TransferConfig.Builder |
setSliceSizeForUpload(long sliceSizee)
设置分块上传时的分块大小
|
TransferConfig.Builder |
setVerifyCRC64(boolean verifyCRC64)
分片上传时是否整体校验 crc64
|
public TransferConfig.Builder setDividsionForCopy(long division)
division
- 启用分块复制的最小对象大小public TransferConfig.Builder setDivisionForUpload(long division)
division
- 启用分块上传的最小对象大小public TransferConfig.Builder setSliceSizeForCopy(long sliceSize)
sliceSize
- 分块复制时的分块大小public TransferConfig.Builder setSliceSizeForUpload(long sliceSizee)
sliceSizee
- 分块上传时的分块大小public TransferConfig.Builder setForceSimpleUpload(boolean forceSimpleUpload)
public TransferConfig.Builder setVerifyCRC64(boolean verifyCRC64)
verifyCRC64
- 是否校验 crc64public TransferConfig build()