Class StoreTimestampBasedImportIndexImportService
java.lang.Object
io.camunda.optimize.service.importing.engine.service.StoreTimestampBasedImportIndexImportService
- All Implemented Interfaces:
ImportService<TimestampBasedImportIndexDto>
public class StoreTimestampBasedImportIndexImportService
extends Object
implements ImportService<TimestampBasedImportIndexDto>
Write all information of the current import index to the database. If Optimize is restarted the
import index can thus be restored again.
-
Constructor Summary
ConstructorsConstructorDescriptionStoreTimestampBasedImportIndexImportService(ConfigurationService configurationService, ImportIndexWriter importIndexWriter, DatabaseClient databaseClient) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteImport(List<TimestampBasedImportIndexDto> importIndexesToStore, Runnable importCompleteCallback) 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.engine.service.ImportService
hasPendingImportJobs, shutdown
-
Constructor Details
-
StoreTimestampBasedImportIndexImportService
public StoreTimestampBasedImportIndexImportService(ConfigurationService configurationService, ImportIndexWriter importIndexWriter, DatabaseClient databaseClient)
-
-
Method Details
-
executeImport
public void executeImport(List<TimestampBasedImportIndexDto> importIndexesToStore, Runnable importCompleteCallback) - Specified by:
executeImportin interfaceImportService<TimestampBasedImportIndexDto>
-
getDatabaseImportJobExecutor
- Specified by:
getDatabaseImportJobExecutorin interfaceImportService<TimestampBasedImportIndexDto>
-