code: @Override
    public TaskStatus getTaskStatus(final JobId jobId) {
      final byte[] data = taskStatuses.get(jobId.toString());
      if (data == null) {
        return null;
      }
      try {
        return parse(data, TaskStatus.class);
      } catch (IOException e) {
        throw new RuntimeException(e);
      }
    }
docs: Get the {@link TaskStatus} for the job identified by {@code jobId}.