public void put(String identifier,ActiveConnectionRecord record){
synchronized (records) {
    Set<ActiveConnectionRecord> connections=records.get(identifier);
    if (connections == null) {
      connections=Collections.synchronizedSet(Collections.newSetFromMap(new LinkedHashMap<ActiveConnectionRecord,Boolean>()));
      records.put(identifier,connections);
    }
    connections.add(record);
  }
}

public void put ( String identifier , ActiveConnectionRecord record ) { synchronized ( records ) { Set < ActiveConnectionRecord > connections = records . get ( identifier ) ; if ( connections == null ) { connections = Collections . synchronizedSet ( Collections . newSetFromMap ( new LinkedHashMap < ActiveConnectionRecord , Boolean > ( ) ) ) ; records . put ( identifier , connections ) ; } connections . add ( record ) ; } }
stores the given connection record in the list of active connections associated with the object having the given identifier .
