code: @Override
    public Map<JobId, Job> getJobs() {
      log.debug("getting jobs");
      final String folder = Paths.configJobs();
      final ZooKeeperClient client = provider.get("getJobs");
      try {
        final List<String> ids;
        try {
          ids = client.getChildren(folder);
        } catch (NoNodeException e) {
          return Maps.newHashMap();
        }
        final Map<JobId, Job> descriptors = Maps.newHashMap();
        for (final String id : ids) {
          final JobId jobId = JobId.fromString(id);
          final String path = Paths.configJob(jobId);
          try {
            final byte[] data = client.getData(path);
            final Job descriptor = parse(data, Job.class);
            descriptors.put(descriptor.getId(), descriptor);
          } catch (NoNodeException e) {
            // Ignore, the job was deleted before we had a chance to read it.
            log.debug("Ignoring deleted job {}", jobId);
          }
        }
        return descriptors;
      } catch (KeeperException | IOException e) {
        throw new HeliosRuntimeException("getting jobs failed", e);
      }
    }
docs: Returns a {@link Map} of {@link JobId} to {@link Job} objects for all of the jobs known.