public interface RBinaryStreamRx extends RBucketRx<byte[]>
Modifier and Type | Method and Description |
---|---|
long |
position()
Returns current channel's position
|
void |
position(long newPosition)
Sets channel's position
|
io.reactivex.Single<Integer> |
read(ByteBuffer buf)
Reads a sequence of bytes into defined buffer.
|
io.reactivex.Single<Integer> |
write(ByteBuffer buf)
Writes a sequence of bytes from defined buffer.
|
compareAndSet, get, getAndDelete, getAndSet, getAndSet, set, set, setIfExists, setIfExists, size, trySet, trySet
clearExpire, expire, 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 positionio.reactivex.Single<Integer> read(ByteBuffer buf)
buf
- buffer object into which bytes are readio.reactivex.Single<Integer> write(ByteBuffer buf)
buf
- buffer object from which bytes are transferredCopyright © 2014–2020 Redisson. All rights reserved.