code: public synchronized void setHistory(CollectHistory history) {
          history_ = Optional.of(history);
          history_.ifPresent(getApi()::setHistory);
          data_.initWithHistoricalData(history, getDecoratorLookBack());
      }
docs: Set the history module that the push processor is to use.