Exemple #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @AfterClass public static void tearDownAfterAll()
        public static void tearDownAfterAll()
        {
            if (processEngineConfiguration != null)
            {
                processEngineConfiguration.setHistoryRemovalTimeProvider(null).setHistoryRemovalTimeStrategy(null).initHistoryRemovalTime();

                processEngineConfiguration.BatchOperationHistoryTimeToLive  = null;
                processEngineConfiguration.BatchOperationsForHistoryCleanup = null;

                processEngineConfiguration.initHistoryCleanup();
            }

            ClockUtil.reset();
        }
Exemple #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @AfterClass public static void tearDownAfterAll()
        public static void tearDownAfterAll()
        {
            if (engineConfiguration != null)
            {
                engineConfiguration.setHistoryRemovalTimeProvider(null).setHistoryRemovalTimeStrategy(null).initHistoryRemovalTime();

                engineConfiguration.HistoryCleanupStrategy = HISTORY_CLEANUP_STRATEGY_END_TIME_BASED;

                engineConfiguration.HistoryCleanupBatchSize            = MAX_BATCH_SIZE;
                engineConfiguration.HistoryCleanupBatchWindowStartTime = null;
                engineConfiguration.HistoryCleanupDegreeOfParallelism  = 1;

                engineConfiguration.initHistoryCleanup();
            }

            ClockUtil.reset();
        }