public class ScrollingIndexingWorker extends BaseIndexingWorker implements Work
Work.Progress, Work.State| Modifier and Type | Field and Description | 
|---|---|
protected long | 
documentCount  | 
protected String | 
nxql  | 
protected boolean | 
syncAlias  | 
protected WorkManager | 
workManager  | 
callerThread, completionTime, docId, docIds, FAILURE_EXCEPTION, FAILURE_MSG, id, isTree, loginContext, originatingUsername, progress, RANDOM, repositoryName, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending, WORK_FAILED_EVENT, WORK_INSTANCE| Constructor and Description | 
|---|
ScrollingIndexingWorker(String repositoryName,
                       String nxql)  | 
ScrollingIndexingWorker(String repositoryName,
                       String nxql,
                       boolean syncAlias)  | 
| 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 syncAlias)  | 
getCategory, getRetryCount, workbuildWorkFailureEventProps, cleanUp, closeSession, commitOrRollbackTransaction, equals, getCompletionTime, getDocument, getDocuments, getId, getOriginatingUsername, getPartitionKey, getProgress, getSchedulePath, getSchedulingTime, getStartTime, getStatus, getWorkInstanceState, hashCode, initSession, initSession, isDocumentTree, isSuspending, isWorkInstanceSuspended, newDocumentLocation, openSystemSession, openUserSession, run, runWorkWithTransaction, setCompletionTime, setDocument, setDocument, setDocuments, setOriginatingUsername, setProgress, setSchedulePath, setStartTime, setStatus, setWorkInstanceState, setWorkInstanceSuspending, startTransaction, suspended, toString, workFailedclone, finalize, getClass, notify, notifyAll, wait, wait, waitcleanUp, getCategory, getCompletionTime, getDocument, getDocuments, getId, getOriginatingUsername, getPartitionKey, getProgress, getSchedulePath, getSchedulingTime, getStartTime, getStatus, getWorkInstanceState, isCoalescing, isDocumentTree, isIdempotent, isSuspending, isWorkInstanceSuspended, run, setProgress, setSchedulePath, setStartTime, setWorkInstanceState, setWorkInstanceSuspending, suspended, workprotected final boolean syncAlias
protected transient WorkManager workManager
protected long documentCount
public ScrollingIndexingWorker(String repositoryName, String nxql)
public ScrollingIndexingWorker(String repositoryName, String nxql, boolean syncAlias)
public String getTitle()
Workprotected void doWork()
doWork in class BaseIndexingWorkerprotected void scheduleBucketWorker(List<String> bucket, boolean syncAlias)
protected WorkManager getWorkManager()
protected int getBucketSize()
Copyright © 2019 Nuxeo. All rights reserved.