类 BufferedOffloadStream

java.lang.Object
java.io.InputStream
org.apache.bookkeeper.mledger.offload.jcloud.impl.BufferedOffloadStream
所有已实现的接口:
Closeable, AutoCloseable

public class BufferedOffloadStream extends InputStream
  • 构造器详细资料

    • BufferedOffloadStream

      public BufferedOffloadStream(int blockSize, List<org.apache.bookkeeper.mledger.Entry> entries, long ledgerId, long beginEntryId)
  • 方法详细资料

    • getEndEntryId

      public long getEndEntryId()
    • getLedgerId

      public long getLedgerId()
    • getBeginEntryId

      public long getBeginEntryId()
    • getBlockSize

      public long getBlockSize()
    • read

      public int read() throws IOException
      指定者:
      read 在类中 InputStream
      抛出:
      IOException
    • close

      public void close() throws IOException
      指定者:
      close 在接口中 AutoCloseable
      指定者:
      close 在接口中 Closeable
      覆盖:
      close 在类中 InputStream
      抛出:
      IOException
    • calculateBlockSize

      public static int calculateBlockSize(int streamingBlockSize, int entryCount, int entrySize)