Java Code Examples for org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration#setDbMetricsReporterActivate()
The following examples show how to use
org.camunda.bpm.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration#setDbMetricsReporterActivate() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HistoryLevelTest.java From camunda-bpm-platform with Apache License 2.0 | 5 votes |
protected ProcessEngineConfigurationImpl createConfig() { StandaloneInMemProcessEngineConfiguration configuration = new StandaloneInMemProcessEngineConfiguration(); configuration.setProcessEngineName("process-engine-HistoryTest"); configuration.setDbMetricsReporterActivate(false); configuration.setJdbcUrl("jdbc:h2:mem:HistoryTest"); return configuration; }
Example 2
Source File: DatabaseHistoryPropertyAutoTest.java From camunda-bpm-platform with Apache License 2.0 | 5 votes |
private static ProcessEngineConfigurationImpl config(final String schemaUpdate, final String historyLevel) { StandaloneInMemProcessEngineConfiguration engineConfiguration = new StandaloneInMemProcessEngineConfiguration(); engineConfiguration.setProcessEngineName(UUID.randomUUID().toString()); engineConfiguration.setDatabaseSchemaUpdate(schemaUpdate); engineConfiguration.setHistory(historyLevel); engineConfiguration.setDbMetricsReporterActivate(false); engineConfiguration.setJdbcUrl("jdbc:h2:mem:DatabaseHistoryPropertyAutoTest"); return engineConfiguration; }
Example 3
Source File: DetermineHistoryLevelCmdTest.java From camunda-bpm-platform with Apache License 2.0 | 5 votes |
private static ProcessEngineConfigurationImpl config(final String schemaUpdate, final String historyLevel) { StandaloneInMemProcessEngineConfiguration engineConfiguration = new StandaloneInMemProcessEngineConfiguration(); engineConfiguration.setProcessEngineName(UUID.randomUUID().toString()); engineConfiguration.setDatabaseSchemaUpdate(schemaUpdate); engineConfiguration.setHistory(historyLevel); engineConfiguration.setDbMetricsReporterActivate(false); engineConfiguration.setJdbcUrl("jdbc:h2:mem:DatabaseHistoryPropertyAutoTest"); return engineConfiguration; }