public interface AsyncOutputStream
See the com.mongodb.async.client.gridfs.helpers
package for adapters that create an AsyncOutputStream
Modifier and Type | Method and Description |
---|---|
org.reactivestreams.Publisher<Success> |
close()
Closes the output stream
|
org.reactivestreams.Publisher<Integer> |
write(ByteBuffer src)
Writes a sequence of bytes from the given buffer into this stream.
|
org.reactivestreams.Publisher<Integer> write(ByteBuffer src)
src
- the source buffer containing the data to be written.org.reactivestreams.Publisher<Success> close()