Class BufferedPipeDataQueue

    • Constructor Detail

      • BufferedPipeDataQueue

        public BufferedPipeDataQueue​(java.lang.String pipeLogDir)
    • Method Detail

      • getLastMaxSerialNumber

        public long getLastMaxSerialNumber()
      • getCommitSerialNumber

        public long getCommitSerialNumber()
      • take

        public PipeData take()
                      throws java.lang.InterruptedException
        Specified by:
        take in interface PipeDataQueue
        Throws:
        java.lang.InterruptedException
      • commit

        public void commit​(long serialNumber)
      • parsePipeLog

        public static java.util.List<PipeData> parsePipeLog​(java.io.File file)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException