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.rxjava3.core.Single<Integer> |
read(ByteBuffer buf)
Reads a sequence of bytes into defined buffer.
|
io.reactivex.rxjava3.core.Single<Integer> |
write(ByteBuffer buf)
Writes a sequence of bytes from defined buffer.
|
compareAndSet, get, getAndDelete, getAndSet, getAndSet, set, set, setIfExists, setIfExists, size, trySet, trySetclearExpire, expire, expireAt, expireAt, remainTimeToLiveaddListener, copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlinklong position()
void position(long newPosition)
newPosition - - new positionio.reactivex.rxjava3.core.Single<Integer> read(ByteBuffer buf)
buf - buffer object into which bytes are readio.reactivex.rxjava3.core.Single<Integer> write(ByteBuffer buf)
buf - buffer object from which bytes are transferredCopyright © 2014–2020 Redisson. All rights reserved.