public abstract class AbstractIndexingWorker extends BaseIndexingWorker
Work.Progress, Work.State
Modifier and Type | Field and Description |
---|---|
protected List<IndexingCommand> |
cmds |
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 |
---|
AbstractIndexingWorker(IndexingCommand cmd) |
AbstractIndexingWorker(String repositoryName,
List<IndexingCommand> cmds) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doIndexingWork(ElasticSearchIndexing esi,
List<IndexingCommand> cmds) |
void |
doWork() |
getCategory, getRetryCount, work
buildWorkFailureEventProps, 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, workFailed
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTitle, isCoalescing, isIdempotent
protected final List<IndexingCommand> cmds
public AbstractIndexingWorker(IndexingCommand cmd)
public AbstractIndexingWorker(String repositoryName, List<IndexingCommand> cmds)
public void doWork()
doWork
in class BaseIndexingWorker
protected abstract void doIndexingWork(ElasticSearchIndexing esi, List<IndexingCommand> cmds)
Copyright © 2018 Nuxeo. All rights reserved.