public void addSession ( String id , Session session ) { synchronized ( session ) { SessionSchedulable schedulable = new SessionSchedulable ( session , getType ( ) ) ; idToSession . put ( id , schedulable ) ; } }
Add a session to the pool