private void addToFinishTimesMap(String appType, long finishTime) {
    FinishTimeInfo info = _appTypeToFinishTimeInfo.get(appType);
    if (info == null) {
      info = new FinishTimeInfo();
    }
    Integer count = info._appFinishTimesMap.get(finishTime);
    if (count == null) {
      count = 0;
    }
    info._appFinishTimesMap.put(finishTime, count + 1);
    _appTypeToFinishTimeInfo.put(appType, info);
  }
The class that runs the Dr. Elephant daemon
app/com/linkedin/drelephant/ElephantRunner.java