docs: public synchronized void record(String historyKey, LaJobHistory jobHistory, int limit) {
          if (historyMap.size() >= limit) {
              final String removedKey = historyKeyList.remove(0);
              historyMap.remove(removedKey);
          }
          historyMap.put(historyKey, jobHistory);
          historyKeyList.add(historyKey);
      }