code: public List<RemoteTask> getAllTasks()
      {
          return tasks.values().stream()
                  .flatMap(Set::stream)
                  .collect(toImmutableList());
      }
docs: this is used for query info building which should be independent of scheduling work