xtdb.multipart.IMultipartUpload.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtdb-core Show documentation
Show all versions of xtdb-core Show documentation
An open source document database with bitemporal graph queries
package xtdb.multipart
import java.nio.ByteBuffer
import java.util.concurrent.CompletableFuture
interface IMultipartUpload {
/**
* Asynchronously uploads a part to the multipart request and adds it to the internal list of completed parts.
*/
fun uploadPart(buf: ByteBuffer): CompletableFuture<*>
/**
* Asynchronously completes the multipart request.
*/
fun complete(): CompletableFuture<*>
/**
* Asynchronously cancels the multipart request, useful for cleaning up any parts of the multipart upload in case of an error.
*/
fun abort(): CompletableFuture<*>
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy