Class FifoFileInputStream

    • Method Detail

      • getReadCount

        public long getReadCount()
        Gets the number of reads performed on this stream.
      • getReadBytes

        public long getReadBytes()
        Gets the number of bytes read from this stream.
      • addStats

        protected void addStats​(long bytes)
        Adds to the stats of this stream.
      • read

        public int read​(byte[] b)
                 throws IOException
        Reads data from the file, blocks until at least one byte is available.
        Overrides:
        read in class InputStream
        Throws:
        IOException
      • read

        public int read​(byte[] b,
                        int off,
                        int len)
                 throws IOException
        Reads data from the file, blocks until at least one byte is available.
        Overrides:
        read in class InputStream
        Throws:
        IOException