Class PipesReporter

    • Field Detail

      • NO_OP_REPORTER

        public static final PipesReporter NO_OP_REPORTER
    • Constructor Detail

      • PipesReporter

        public PipesReporter()
    • Method Detail

      • report

        public void report​(TotalCountResult totalCountResult)
        No-op implementation. Override for custom behavior and make sure to override supportsTotalCount() to return true
        Parameters:
        totalCountResult -
      • supportsTotalCount

        public boolean supportsTotalCount()
        Override this if your reporter supports total count.
        Returns:
        false as the baseline implementation
      • error

        public abstract void error​(Throwable t)
        This is called if the process has crashed. Implementers should not rely on close() to be called after this.
        Parameters:
        t -
      • error

        public abstract void error​(String msg)
        This is called if the process has crashed. Implementers should not rely on close() to be called after this.
        Parameters:
        msg -