Class OSSRecoverableMultipartUpload
- java.lang.Object
-
- org.apache.flink.fs.osshadoop.writer.OSSRecoverableMultipartUpload
-
public class OSSRecoverableMultipartUpload extends Object
Uploader for OSS multi part upload.
-
-
Constructor Summary
Constructors Constructor Description OSSRecoverableMultipartUpload(String objectName, Executor uploadThreadPool, OSSAccessor ossAccessor, Optional<File> incompletePart, String uploadId, List<com.aliyun.oss.model.PartETag> completeParts, long expectedSizeInBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OSSCommitter
getCommitter()
Optional<File>
getIncompletePart()
OSSRecoverable
getRecoverable(RefCountedFSOutputStream file)
void
uploadPart(RefCountedFSOutputStream file)
-
-
-
Method Detail
-
uploadPart
public void uploadPart(RefCountedFSOutputStream file) throws IOException
- Throws:
IOException
-
getRecoverable
public OSSRecoverable getRecoverable(RefCountedFSOutputStream file) throws IOException
- Throws:
IOException
-
getCommitter
public OSSCommitter getCommitter() throws IOException
- Throws:
IOException
-
-