public class IndexingWorker extends AbstractIndexingWorker implements Work
Work.Progress, Work.StatecmdscallerThread, 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 | 
|---|
IndexingWorker(String repositoryName,
              List<IndexingCommand> cmds)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
doIndexingWork(ElasticSearchIndexing esi,
              List<IndexingCommand> cmds)  | 
String | 
getCmdsDigest()  | 
String | 
getTitle()
Gets a human-readable name for this work instance. 
 | 
protected boolean | 
needRecurse(IndexingCommand cmd)  | 
doWorkgetCategory, 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, workpublic IndexingWorker(String repositoryName, List<IndexingCommand> cmds)
public String getTitle()
Workprotected boolean needRecurse(IndexingCommand cmd)
protected void doIndexingWork(ElasticSearchIndexing esi, List<IndexingCommand> cmds)
doIndexingWork in class AbstractIndexingWorkerpublic String getCmdsDigest()
Copyright © 2019 Nuxeo. All rights reserved.