private void cancelFutures ( ) { cancelFuture ( ) ; for ( Future < PartETag > f : futures ) { f . cancel ( true ) ; } multipartUploadCallable . getFutures ( ) . clear ( ) ; futures . clear ( ) ; }
Cancels the inflight transfers if they are not completed .