Package org.redisson.api
Interface RBinaryStream
- All Superinterfaces:
RBucket<byte[]>
,RBucketAsync<byte[]>
,RExpirable
,RExpirableAsync
,RObject
,RObjectAsync
- All Known Implementing Classes:
RedissonBinaryStream
Binary stream holder stores a sequence of bytes.
Maximum size of stream is limited to 512Mb.
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptionReturns async channel object which allows to write and read binary stream.Returns channel object which allows to write and read binary stream.Returns inputStream object which allows to read binary stream.Returns outputStream object which allows to write binary stream.Methods inherited from interface org.redisson.api.RBucket
addListener, compareAndSet, get, getAndClearExpire, getAndDelete, getAndExpire, getAndExpire, getAndSet, getAndSet, set, set, setAndKeepTTL, setIfAbsent, setIfAbsent, setIfExists, setIfExists, size, trySet, trySet
Methods inherited from interface org.redisson.api.RBucketAsync
addListenerAsync, compareAndSetAsync, getAndClearExpireAsync, getAndDeleteAsync, getAndExpireAsync, getAndExpireAsync, getAndSetAsync, getAndSetAsync, getAsync, setAndKeepTTLAsync, setAsync, setAsync, setIfAbsentAsync, setIfAbsentAsync, setIfExistsAsync, setIfExistsAsync, sizeAsync, trySetAsync, trySetAsync
Methods inherited from interface org.redisson.api.RExpirable
clearExpire, expire, expire, expire, expireAt, expireAt, expireIfGreater, expireIfGreater, expireIfLess, expireIfLess, expireIfNotSet, expireIfNotSet, expireIfSet, expireIfSet, getExpireTime, remainTimeToLive
Methods inherited from interface org.redisson.api.RExpirableAsync
clearExpireAsync, expireAsync, expireAsync, expireAsync, expireAtAsync, expireAtAsync, expireIfGreaterAsync, expireIfGreaterAsync, expireIfLessAsync, expireIfLessAsync, expireIfNotSetAsync, expireIfNotSetAsync, expireIfSetAsync, expireIfSetAsync, getExpireTimeAsync, remainTimeToLiveAsync
Methods inherited from interface org.redisson.api.RObject
copy, delete, dump, getCodec, getIdleTime, getName, isExists, migrate, move, removeListener, rename, renamenx, restore, restore, restoreAndReplace, restoreAndReplace, sizeInMemory, touch, unlink
Methods inherited from interface org.redisson.api.RObjectAsync
copyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
-
Method Details
-
getAsynchronousChannel
AsynchronousByteChannel getAsynchronousChannel()Returns async channel object which allows to write and read binary stream. This object isn't thread-safe.- Returns:
- channel object
-
getChannel
SeekableByteChannel getChannel()Returns channel object which allows to write and read binary stream. This object isn't thread-safe.- Returns:
- channel object
-
getInputStream
InputStream getInputStream()Returns inputStream object which allows to read binary stream. This object isn't thread-safe.- Returns:
- stream object
-
getOutputStream
OutputStream getOutputStream()Returns outputStream object which allows to write binary stream. This object isn't thread-safe.- Returns:
- stream object
-