Class OSSRecoverableFsDataOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    @PublicEvolving
    @NotThreadSafe
    public class OSSRecoverableFsDataOutputStream
    extends RecoverableFsDataOutputStream
    A RecoverableFsDataOutputStream to OSS that is based on a recoverable multipart upload.

    This class is NOT thread-safe. Concurrent writes tho this stream result in corrupt or lost data.

    The close() method may be called concurrently when cancelling / shutting down. It will still ensure that local transient resources (like streams and temp files) are cleaned up, but will not touch data previously persisted in OSS.