Class TransactionLog.ChannelFastInputStream

    • Constructor Detail

      • ChannelFastInputStream

        public ChannelFastInputStream​(FileChannel ch,
                                      long chPosition)
    • Method Detail

      • readWrappedStream

        public int readWrappedStream​(byte[] target,
                                     int offset,
                                     int len)
                              throws IOException
        Overrides:
        readWrappedStream in class org.apache.solr.common.util.FastInputStream
        Throws:
        IOException
      • getBufferPos

        public long getBufferPos()
        where is the start of the buffer relative to the whole file
      • getBufferSize

        public int getBufferSize()