public interface Blob
Modifier and Type | Method and Description |
---|---|
Publisher<Void> |
discard()
Release any resources held by the
Clob when not subscribing to the stream content . |
static Blob |
from(Publisher<ByteBuffer> p)
|
Publisher<ByteBuffer> |
stream()
Returns the content stream as a
Publisher emitting ByteBuffer chunks. |
static Blob from(Publisher<ByteBuffer> p)
Blob
wrapper that is backed by a Publisher
of ByteBuffer
.
The wrapper subscribes and cancels the subscription immediately on discard()
.p
- the backing Publisher
of ByteBuffer
.Blob
wrapperPublisher<ByteBuffer> stream()
Publisher
emitting ByteBuffer
chunks.
The content stream can be consumed ("subscribed to") only once. Subsequent consumptions result in a IllegalStateException
.
Once subscribed
, canceling
the subscription releases resources associated with this Blob
.
Publisher
emitting ByteBuffer
chunks.Publisher<Void> discard()
Clob
when not subscribing to the stream content
.Publisher
that termination is completeCopyright © 2019. All rights reserved.