public interface AsyncOutputStream
See the 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<java.lang.Integer> |
write(java.nio.ByteBuffer src)
Writes a sequence of bytes from the given buffer into this stream.
|
org.reactivestreams.Publisher<java.lang.Integer> write(java.nio.ByteBuffer src)
src
- the source buffer containing the data to be written.org.reactivestreams.Publisher<Success> close()