returns the optimal part size , in bytes , for each individual part upload in a multipart upload . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isUploadParallelizable concode_elem_sep boolean shouldUseMultipartUpload concode_elem_sep File getRequestFile concode_elem_sep long getContentLength concode_elem_sep ThreadPoolExecutor createDefaultExecutorService
long function ( PutObjectRequest arg0 , TransferManagerConfiguration arg1 ) { double loc0 = TransferManagerUtils . getContentLength ( arg0 ) ; double loc1 = ( double ) loc0 / ( double ) MAXIMUM_UPLOAD_PARTS ; loc1 = Math . ceil ( loc1 ) ; return ( long ) Math . max ( loc1 , arg1 . getMinimumUploadPartSize ( ) ) ; }