public class IndexingWorker extends AbstractIndexingWorker implements Work
Work.Progress, Work.StatecmdscallerThread, completionTime, docId, docIds, id, isTree, loginContext, originatingUsername, progress, RANDOM, repositoryName, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending| 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, workcleanUp, closeSession, commitOrRollbackTransaction, equals, getCompletionTime, getDocument, getDocuments, getId, getOriginatingUsername, getProgress, getSchedulePath, getSchedulingTime, getStartTime, getState, getStatus, getWorkInstanceResult, getWorkInstanceState, hashCode, initSession, initSession, isDocumentTree, isSuspending, isWorkInstanceSuspended, newDocumentLocation, openSystemSession, openUserSession, run, runWorkWithTransaction, runWorkWithTransactionAndCheckExceptions, setCompletionTime, setDocument, setDocument, setDocuments, setOriginatingUsername, setProgress, setSchedulePath, setStartTime, setStatus, setWorkInstanceState, setWorkInstanceSuspending, startTransaction, suspended, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcleanUp, getCategory, getCompletionTime, getDocument, getDocuments, getId, getOriginatingUsername, getProgress, getSchedulePath, getSchedulingTime, getStartTime, getState, getStatus, getWorkInstanceResult, getWorkInstanceState, isDocumentTree, 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 © 2016 Nuxeo SA. All rights reserved.