code: public static synchronized ITangoDB getDatabase(final String host, final String port) throws DevFailed {
          final ITangoDB dbase;
          if (useDb) {
              final String tangoHost = host + ":" + port;
              // Search if database object already created for this host and port
              if (databaseMap.containsKey(tangoHost)) {
                  return databaseMap.get(tangoHost);
              }
              // Else, create a new database object
              dbase = new Database(host, port);
              databaseMap.put(tangoHost, dbase);
          } else {
              dbase = fileDatabase;
          }
          return dbase;
      }
docs: Get the database object created for specified host and port.
  
  @param host
  host where database is running.
  @param port
  port for database connection.