Class DatabaseImportJobExecutor
java.lang.Object
io.camunda.optimize.service.importing.DatabaseImportJobExecutor
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseImportJobExecutor(String name, ConfigurationService configurationService) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteImportJob(Runnable dbImportJob) protected intNumber of threads that should be used in the thread pool executor.protected intNumber of jobs that should be able to accumulate until new submission is blocked.booleanisActive()voidshutdown()voidvoid
-
Constructor Details
-
DatabaseImportJobExecutor
-
-
Method Details
-
shutdown
public void shutdown() -
isActive
public boolean isActive() -
stopExecutingImportJobs
public void stopExecutingImportJobs() -
executeImportJob
-
startExecutingImportJobs
public void startExecutingImportJobs() -
getExecutorThreadCount
protected int getExecutorThreadCount()Number of threads that should be used in the thread pool executor. -
getMaxQueueSize
protected int getMaxQueueSize()Number of jobs that should be able to accumulate until new submission is blocked.
-