public class IndexingWorker extends AbstractIndexingWorker implements Work
Work.Progress, Work.State
cmds
callerThread, 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) |
doWork
getCategory, getRetryCount, work
cleanUp, 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, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cleanUp, getCategory, getCompletionTime, getDocument, getDocuments, getId, getOriginatingUsername, getProgress, getSchedulePath, getSchedulingTime, getStartTime, getState, getStatus, 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 © 2016 Nuxeo SA. All rights reserved.