public void recordResult(@JobResult int result) {
    results.add(new Result(result, SystemClock.elapsedRealtime()));
  }
JobHistory tracks the history of a Job.
testapp/src/main/java/com/firebase/jobdispatcher/testapp/JobHistory.java