public interface RBinaryStreamReactive extends RBucketReactive<byte[]>
Modifier and Type | Method and Description |
---|---|
long |
position()
Returns current channel's position
|
void |
position(long newPosition)
Sets channel's position
|
reactor.core.publisher.Mono<Integer> |
read(ByteBuffer buf)
Reads a sequence of bytes into defined buffer.
|
reactor.core.publisher.Mono<Integer> |
write(ByteBuffer buf)
Writes a sequence of bytes from defined buffer.
|
compareAndSet, get, getAndDelete, getAndSet, getAndSet, set, set, setAndKeepTTL, setIfExists, setIfExists, size, trySet, trySet
clearExpire, expire, expireAt, expireAt, expireAt, remainTimeToLive
addListener, copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
long position()
void position(long newPosition)
newPosition
- - new positionreactor.core.publisher.Mono<Integer> read(ByteBuffer buf)
buf
- buffer object into which bytes are readreactor.core.publisher.Mono<Integer> write(ByteBuffer buf)
buf
- buffer object from which bytes are transferredCopyright © 2014–2021 Redisson. All rights reserved.