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 stores a sequence of bytes. Maximum size of stream is limited to 512Mb.
Author:
Nikita Koksharov
  • 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