Package db.buffers

Interface BlockStream

All Superinterfaces:
AutoCloseable, Closeable
All Known Subinterfaces:
InputBlockStream, OutputBlockStream

public interface BlockStream extends Closeable
BlockStream provides a BufferFile block stream.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the number of blocks to be transferred
    int
    Get the raw block size

    Methods inherited from interface java.io.Closeable

    close
  • Method Details

    • getBlockSize

      int getBlockSize()
      Get the raw block size
      Returns:
      block size
    • getBlockCount

      int getBlockCount()
      Get the number of blocks to be transferred
      Returns:
      block count