public class IndexingWorker extends AbstractIndexingWorker implements Work
Work.Progress, Work.State
cmds
completionTime, docId, docIds, id, isTree, 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) |
doWork
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
public IndexingWorker(String repositoryName, List<IndexingCommand> cmds)
public String getTitle()
Work
protected boolean needRecurse(IndexingCommand cmd)
protected void doIndexingWork(ElasticSearchIndexing esi, List<IndexingCommand> cmds)
doIndexingWork
in class AbstractIndexingWorker
public String getCmdsDigest()
Copyright © 2015 Nuxeo SA. All rights reserved.