public class ReIndexingRunnerManager extends Object
public static ReIndexingRunnerManager get()
public boolean reIndexWithZeroDownTime(String repository) throws ReIndexingStatusException, ReIndexingStateException, ReIndexingException
repository - @return ReIndexingSteps: state and status of re-indexing
step in progress when calling method @throwsReIndexingStatusExceptionReIndexingStateExceptionReIndexingExceptionprotected void launchReIndexingRunner(OttcElasticSearchIndexOrAliasConfig aliasCfg) throws ReIndexingStateException
ReIndexingStateExceptionpublic boolean isReIndexingInProgress(String repositoryName) throws InterruptedException
InterruptedExceptionpublic boolean isReIndexingInProgress()
throws InterruptedException
InterruptedExceptionpublic void cleanLogsInfos()
public IndexNAliasManager getIndexManager()
public org.nuxeo.ecm.core.work.api.WorkManager getWorkManager()
public OttcElasticSearchAdminImpl getEsAdmin()
public void setEsAdmin(OttcElasticSearchAdminImpl esAdmin)
public OttcElasticSearchIndexing getEsIndexing()
public String getCurrentWorkId()
public ReIndexingRunnerStep getRunnerStepFor(String work)
public void setRunnerStepFor(String work, ReIndexingRunnerStep step)
public long getStartTimeFor(String work)
public void setStartTimeFor(String work)
public long getEndTimeFor(String work)
public void setEndTimeFor(String work)
Copyright © 2020. All rights reserved.