public override ProcessEngineConfiguration configureEngine(ProcessEngineConfigurationImpl configuration) { outerInstance.jobExecutor = new ControllableJobExecutor(true); outerInstance.jobExecutor.MaxJobsPerAcquisition = 1; outerInstance.jobExecutor.WaitTimeInMillis = BASE_IDLE_WAIT_TIME; outerInstance.jobExecutor.MaxWait = MAX_IDLE_WAIT_TIME; outerInstance.acquisitionThread = outerInstance.jobExecutor.AcquisitionThreadControl; return(configuration.setJobExecutor(outerInstance.jobExecutor)); }
public override ProcessEngineConfiguration configureEngine(ProcessEngineConfigurationImpl configuration) { return(configuration.setJobExecutor(new ControllableJobExecutor())); }