code: public void addSession(String id, Session session) {
      PoolInfo poolInfo = getPoolInfo(session);
      LOG.info("Session " + id + " added to pool info " +
          poolInfo + " (originally " + session.getInfo().getPoolInfoStrings() +") for " + type);
      getPoolSchedulable(poolInfo).addSession(id, session);
    }
docs: Add a session to the scheduler
  @param id the id of the session
  @param session the session object to add