Package org.redisson.api
Interface RBinaryStream
-
- All Superinterfaces:
RBucket<byte[]>
,RBucketAsync<byte[]>
,RExpirable
,RExpirableAsync
,RObject
,RObjectAsync
- All Known Implementing Classes:
RedissonBinaryStream
public interface RBinaryStream extends RBucket<byte[]>
Binary stream holder. Maximum size of stream is limited by available memory of Redis master node.- Author:
- Nikita Koksharov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
getInputStream()
Returns inputStream which reads binary stream.OutputStream
getOutputStream()
Returns outputStream which writes binary stream.-
Methods inherited from interface org.redisson.api.RBucket
compareAndSet, get, getAndDelete, getAndSet, set, set, size, trySet, trySet
-
Methods inherited from interface org.redisson.api.RBucketAsync
compareAndSetAsync, getAndDeleteAsync, getAndSetAsync, getAsync, setAsync, setAsync, sizeAsync, trySetAsync, trySetAsync
-
Methods inherited from interface org.redisson.api.RExpirable
clearExpire, expire, expireAt, expireAt, remainTimeToLive
-
Methods inherited from interface org.redisson.api.RExpirableAsync
clearExpireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
-
Methods inherited from interface org.redisson.api.RObject
copy, delete, dump, getCodec, getName, isExists, migrate, move, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, touch, unlink
-
Methods inherited from interface org.redisson.api.RObjectAsync
copyAsync, deleteAsync, dumpAsync, isExistsAsync, migrateAsync, moveAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, touchAsync, unlinkAsync
-
-
-
-
Method Detail
-
getInputStream
InputStream getInputStream()
Returns inputStream which reads binary stream. This stream isn't thread-safe.- Returns:
- stream
-
getOutputStream
OutputStream getOutputStream()
Returns outputStream which writes binary stream. This stream isn't thread-safe.- Returns:
- stream
-
-