code: public static Map<String, TraceEvent> tocManagedConnections(List<TraceEvent> data) throws Exception
     {
        Map<String, TraceEvent> result = new TreeMap<String, TraceEvent>();
  
        for (TraceEvent te : data)
        {
           if (te.getType() == TraceEvent.CREATE_CONNECTION_LISTENER_GET ||
               te.getType() == TraceEvent.CREATE_CONNECTION_LISTENER_PREFILL ||
               te.getType() == TraceEvent.CREATE_CONNECTION_LISTENER_INCREMENTER)
           {
              result.put(te.getPayload1(), te);
           }
        }
  
        return result;
     }
docs: ToC: Managed connections
  @param data The data
  @return The events
  @exception Exception If an error occurs