code: public void addSession(String id, Session session) {
      poolGroupManager.addSession(id, session);
      LOG.info("Session " + id +
          " has been added to " + type + " scheduler");
    }
docs: Add a session to this scheduler.
  @param id The session ID.
  @param session The session.