public final class ChecksumSubscriber extends Object implements org.reactivestreams.Subscriber<ByteBuffer>
| Constructor and Description |
|---|
ChecksumSubscriber(Collection<? extends Checksum> consumers) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<org.reactivestreams.Publisher<ByteBuffer>> |
completeFuture() |
void |
onComplete() |
void |
onError(Throwable throwable) |
void |
onNext(ByteBuffer byteBuffer) |
void |
onSubscribe(org.reactivestreams.Subscription subscription) |
public ChecksumSubscriber(Collection<? extends Checksum> consumers)
public void onSubscribe(org.reactivestreams.Subscription subscription)
onSubscribe in interface org.reactivestreams.Subscriber<ByteBuffer>public void onNext(ByteBuffer byteBuffer)
onNext in interface org.reactivestreams.Subscriber<ByteBuffer>public void onError(Throwable throwable)
onError in interface org.reactivestreams.Subscriber<ByteBuffer>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<ByteBuffer>public CompletableFuture<org.reactivestreams.Publisher<ByteBuffer>> completeFuture()
Copyright © 2023. All rights reserved.