synchronized ImmutableList<JobEvent> getActiveEvents() {
    ImmutableList.Builder<JobEvent> builder = ImmutableList.builder();
    for (String id : activeJobIds) {
      JobEvent p = eventsByJobId.get(id);
      assert p != null;
      builder.add(p);
    }
    return builder.build();
  }
synchronized ImmutableList<JobEvent> getActiveEvents() {
    ImmutableList.Builder<JobEvent> builder = ImmutableList.builder();
    for (String id : activeJobIds) {
      JobEvent p = eventsByJobId.get(id);
      assert p != null;
      builder.add(p);
    }
    return builder.build();
  }
synchronized immutablelist<jobevent> getactiveevents() { immutablelist.builder<jobevent> builder = immutablelist.builder(); for (string id : activejobids) { jobevent p = eventsbyjobid.get(id); assert p != null; builder.add(p); } return builder.build(); }