public class ScrollingIndexingWorker extends BaseIndexingWorker implements Work
Work.Progress, Work.State
Modifier and Type | Field and Description |
---|---|
protected long |
documentCount |
protected String |
nxql |
protected WorkManager |
workManager |
completionTime, docId, docIds, id, isTree, progress, RANDOM, repositoryName, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending
Constructor and Description |
---|
ScrollingIndexingWorker(String repositoryName,
String nxql) |
Modifier and Type | Method and Description |
---|---|
protected void |
doWork() |
protected int |
getBucketSize() |
String |
getTitle()
Gets a human-readable name for this work instance.
|
protected WorkManager |
getWorkManager() |
protected void |
scheduleBucketWorker(List<String> bucket,
boolean isLast) |
getCategory, getRetryCount, work
cleanUp, closeSession, commitOrRollbackTransaction, equals, getCompletionTime, getDocument, getDocuments, getId, getProgress, getSchedulePath, getSchedulingTime, getStartTime, getState, getStatus, getUserId, getWorkInstanceResult, getWorkInstanceState, hashCode, initSession, initSession, isDocumentTree, isSuspending, isWorkInstanceSuspended, newDocumentLocation, run, runWorkWithTransaction, runWorkWithTransactionAndCheckExceptions, setCompletionTime, setDocument, setDocument, setDocuments, setProgress, setSchedulePath, setStartTime, setStatus, setWorkInstanceState, setWorkInstanceSuspending, startTransaction, suspended, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cleanUp, getCategory, getCompletionTime, getDocument, getDocuments, getId, getProgress, getSchedulePath, getSchedulingTime, getStartTime, getState, getStatus, getUserId, getWorkInstanceResult, getWorkInstanceState, isDocumentTree, isSuspending, isWorkInstanceSuspended, run, setProgress, setSchedulePath, setStartTime, setWorkInstanceState, setWorkInstanceSuspending, suspended, work
protected transient WorkManager workManager
protected long documentCount
public ScrollingIndexingWorker(String repositoryName, String nxql)
public String getTitle()
Work
protected void doWork()
doWork
in class BaseIndexingWorker
protected void scheduleBucketWorker(List<String> bucket, boolean isLast)
protected WorkManager getWorkManager()
protected int getBucketSize()
Copyright © 2015 Nuxeo SA. All rights reserved.