Class ReindexWorker

    • Constructor Detail

      • ReindexWorker

        public ReindexWorker​(String name,
                             ReindexManager reindexManager,
                             ReindexService reindexService,
                             TransactionManager transactionManager,
                             DbTransactionExecutor dbTransactionExecutor,
                             boolean failOnError)
        Basic Constructor
        Parameters:
        name - the name of the worker -- used in logging
        reindexManager - the manager service.
        reindexService - the reindexing service.
        transactionManager - a transaction manager to generate
        dbTransactionExecutor - manages db transactions
        failOnError - whether the thread should fail on an error or log and continue.
    • Method Detail

      • start

        public void start()
        Start the thread with this Runnable
      • stopThread

        public void stopThread()
        Stop this thread from running once it has completed its current batch.