Class S3RecoverableFsDataOutputStream

  • All Implemented Interfaces:
    Closeable, Flushable, AutoCloseable

    @PublicEvolving
    @NotThreadSafe
    public final class S3RecoverableFsDataOutputStream
    extends RecoverableFsDataOutputStream
    A RecoverableFsDataOutputStream to S3 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 S3.