public List < ConnectionParams > resolveAll ( String correlationId , String key ) { List < ConnectionParams > connections = new ArrayList < ConnectionParams > ( ) ; synchronized ( _lock ) { for ( DiscoveryItem item : _items ) { if ( item . key == key && item . connection != null ) connections . add ( item . connection ) ; } } return connections ; }
Resolves all connection parameters by their key .