code: void storeJobExecutionInfo() {
      if (this.jobHistoryStoreOptional.isPresent()) {
        try {
          this.logger.info("Writing job execution information to the job history store");
          this.jobHistoryStoreOptional.get().put(this.jobState.toJobExecutionInfo());
        } catch (IOException ioe) {
          this.logger.error("Failed to write job execution information to the job history store: " + ioe, ioe);
        }
      }
    }
docs: Store job execution information into the job history store.