public abstract class AbstractIndexingWorker extends BaseIndexingWorker
Work.Progress, Work.State
Modifier and Type | Field and Description |
---|---|
protected List<IndexingCommand> |
cmds |
completionTime, docId, docIds, id, isTree, progress, RANDOM, repositoryName, schedulePath, schedulingTime, session, startTime, state, status, suspended, suspending
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
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
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 © 2015 Nuxeo SA. All rights reserved.