Class ScrollingIndexingWorker

All Implemented Interfaces:
Serializable, Work

public class ScrollingIndexingWorker extends BaseIndexingWorker implements Work
Worker to reindex a large amount of document
Since:
7.1
See Also:
  • Field Details

    • TRANSACTION_TIMEOUT_SECONDS

      protected static final int TRANSACTION_TIMEOUT_SECONDS
      See Also:
    • nxql

      protected final String nxql
    • syncAlias

      protected final boolean syncAlias
    • workManager

      protected transient WorkManager workManager
    • documentCount

      protected long documentCount
  • Constructor Details

    • ScrollingIndexingWorker

      public ScrollingIndexingWorker(String repositoryName, String nxql)
    • ScrollingIndexingWorker

      public ScrollingIndexingWorker(String repositoryName, String nxql, boolean syncAlias)
  • Method Details

    • getTitle

      public String getTitle()
      Description copied from interface: Work
      Gets a human-readable name for this work instance.
      Specified by:
      getTitle in interface Work
      Returns:
      a human-readable name
    • doWork

      protected void doWork()
      Specified by:
      doWork in class BaseIndexingWorker
    • scheduleBucketWorker

      protected void scheduleBucketWorker(List<String> bucket, boolean syncAlias)
    • getWorkManager

      protected WorkManager getWorkManager()
    • getBucketSize

      protected int getBucketSize()