Interface TestScannerRunner

  • All Known Implementing Classes:
    TestScannerRunnerImpl

    public interface TestScannerRunner
    Supports the starting and the stopping of a scanner.
    • Method Detail

      • stop

        void stop()
        Test the stopping of the scanner. Should be called from a thread different from the one which called the start method.
      • setMaxDocs

        void setMaxDocs​(long maxDocs)
        Should be set before calling start to test that the scanner doen't publish more documents than directed by the publisher.
        Parameters:
        maxDocs -