Class TransferManagerConfig
java.lang.Object
com.google.cloud.storage.transfermanager.TransferManagerConfig
Configuration for an instance of
TransferManager- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilds an instance of TransferManagerConfig -
Method Summary
Modifier and TypeMethodDescriptionbooleanintMaximum amount of workers to be allocated to perform work in Transfer ManagerintBuffer size allowed to each workerThe service object forTransferManagerStorage options that Transfer Manager will use to interact with Google Cloud StorageinthashCode()booleanWhether to allow Transfer Manager to perform chunked Uploads/Downloads if it determines chunking will be beneficialbooleanWhether to allow Transfer Manager to perform Parallel Composite Uploads if it determines chunking will be beneficialtoString()
-
Method Details
-
getMaxWorkers
public int getMaxWorkers()Maximum amount of workers to be allocated to perform work in Transfer Manager -
getPerWorkerBufferSize
public int getPerWorkerBufferSize()Buffer size allowed to each worker -
isAllowDivideAndConquerDownload
public boolean isAllowDivideAndConquerDownload()Whether to allow Transfer Manager to perform chunked Uploads/Downloads if it determines chunking will be beneficial -
isAllowParallelCompositeUpload
public boolean isAllowParallelCompositeUpload()Whether to allow Transfer Manager to perform Parallel Composite Uploads if it determines chunking will be beneficial- See Also:
-
Note: Performing parallel composite uploads costs more money. Class A operations are performed to create each part and to perform each compose. If a storage tier other than
STANDARDis used, early deletion fees apply to deletion of the parts.Please see the Parallel composite uploads documentation for a more in depth explanation of the limitations of Parallel composite uploads.
-
getStorageOptions
Storage options that Transfer Manager will use to interact with Google Cloud Storage -
getService
The service object forTransferManager -
toBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-
newBuilder
-