Class StreamStore

  • Direct Known Subclasses:
    CompressedStreamStore

    public class StreamStore
    extends Object
    Holds the representation of the stream on-disk, and handles de-compressing it as required. In future, may also handle writing it back out again
    • Constructor Detail

      • StreamStore

        protected StreamStore​(byte[] data,
                              int offset,
                              int length)
        Creates a new, non compressed Stream Store
    • Method Detail

      • setMaxRecordLength

        public static void setMaxRecordLength​(int length)
        Parameters:
        length - the max record length allowed for StreamStore
      • getMaxRecordLength

        public static int getMaxRecordLength()
        Returns:
        the max record length allowed for StreamStore
      • prependContentsWith

        protected void prependContentsWith​(byte[] b)
      • copyBlockHeaderToContents

        protected void copyBlockHeaderToContents()
      • getContents

        protected byte[] getContents()
      • _getContents

        public byte[] _getContents()