/** * Initializes the report history manager. * * <p>This can be a very expensive call depending on the value returned * by {@link #getReportHistoryOriginDate()} and the number of execution reports * in the database. */ protected final void initializeReportHistoryManager() { synchronized(AbstractRunningStrategy.class) { Date origin = getReportHistoryOriginDate(); Messages.USING_ORDER_HISTORY_ORIGIN.info(AbstractRunningStrategy.class, origin); try { if(orderHistoryManager != null) { orderHistoryManager.stop(); } orderHistoryManager = new LiveOrderHistoryManager(origin); orderHistoryManager.start(); } catch (ClientInitException e) { throw new RuntimeException(e); } } } /**