Class AbstractStoreIndexesImportMediator<T extends ImportService>
java.lang.Object
io.camunda.optimize.service.importing.engine.mediator.AbstractStoreIndexesImportMediator<T>
- All Implemented Interfaces:
ImportMediator
- Direct Known Subclasses:
StoreIngestedImportProgressMediator,StorePositionBasedImportProgressMediator
@Component
public abstract class AbstractStoreIndexesImportMediator<T extends ImportService>
extends Object
implements ImportMediator
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractStoreIndexesImportMediator(T importService, ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionprotected OffsetDateTimebooleanlonggetRank()booleanvoidvoidshutdown()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.optimize.service.importing.ImportMediator
runImport
-
Field Details
-
importService
-
dateUntilJobCreationIsBlocked
-
-
Constructor Details
-
AbstractStoreIndexesImportMediator
protected AbstractStoreIndexesImportMediator(T importService, ConfigurationService configurationService)
-
-
Method Details
-
getBackoffTimeInMs
public long getBackoffTimeInMs()- Specified by:
getBackoffTimeInMsin interfaceImportMediator
-
resetBackoff
public void resetBackoff()- Specified by:
resetBackoffin interfaceImportMediator
-
canImport
public boolean canImport()- Specified by:
canImportin interfaceImportMediator
-
hasPendingImportJobs
public boolean hasPendingImportJobs()- Specified by:
hasPendingImportJobsin interfaceImportMediator
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceImportMediator
-
getRank
- Specified by:
getRankin interfaceImportMediator
-
calculateDateUntilJobCreationIsBlocked
-