public interface ResumableFramesStore extends Closeable
Disposable.Composite, Disposable.Swap
Modifier and Type | Method and Description |
---|---|
long |
frameImpliedPosition() |
long |
framePosition() |
void |
releaseFrames(long remoteImpliedPos)
Release frames from tail of the store up to remote implied position
|
void |
resumableFrameReceived(ByteBuf frame)
Received resumable frame as defined by RSocket protocol.
|
Flux<ByteBuf> |
resumeStream() |
Mono<Void> |
saveFrames(Flux<ByteBuf> frames)
Save resumable frames for potential resumption
|
dispose, isDisposed
Mono<Void> saveFrames(Flux<ByteBuf> frames)
void releaseFrames(long remoteImpliedPos)
Flux<ByteBuf> resumeStream()
Flux
of frames from store tail to head. It should terminate with error if
frames are not continuouslong framePosition()
long frameImpliedPosition()
void resumableFrameReceived(ByteBuf frame)