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 Link icon

    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 Link icon

    close
  • Method Details Link icon

    • getBlockSize Link icon

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

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