public class UploadCallable extends Object implements Callable<UploadResult>
Constructor and Description |
---|
UploadCallable(TransferManager transferManager,
ExecutorService threadPool,
UploadImpl upload,
PutObjectRequest origReq,
ProgressListenerChain progressListenerChain,
String uploadId,
TransferProgress transferProgress) |
Modifier and Type | Method and Description |
---|---|
UploadResult |
call() |
PersistableUpload |
getPersistableUpload() |
boolean |
isMultipartUpload()
Returns true if this UploadCallable is processing a multipart upload.
|
public UploadCallable(TransferManager transferManager, ExecutorService threadPool, UploadImpl upload, PutObjectRequest origReq, ProgressListenerChain progressListenerChain, String uploadId, TransferProgress transferProgress)
public boolean isMultipartUpload()
public UploadResult call() throws Exception
call
in interface Callable<UploadResult>
Exception
public PersistableUpload getPersistableUpload()
Copyright © 2020. All rights reserved.