code: @SuppressWarnings("deprecation")	
  	private synchronized void init() {
          if (initialized) {
              return;
          }
          if (dbname == null) {
              throw new IllegalStateException("MongoDB dbname not defined");
          }
          try {
              if (dbUrl1 == null || dbUrl1.equals("")) {
                  // default host/port, but with options
                  mongo = new Mongo(new ServerAddress(), options);
              } else if (dbUrl2 != null && !dbUrl2.equals("")) {
                  DBAddress left = new DBAddress(urlWithDbname(dbUrl1));
                  DBAddress right = new DBAddress(urlWithDbname(dbUrl2));
                  mongo = new Mongo(left, right, options);
              } else {
                  DBAddress left = new DBAddress(urlWithDbname(dbUrl1));
                  mongo = new Mongo(left, options);
              }
              db = mongo.getDB(dbname);
              initialized = true;
          } catch (Exception e) {
              throw new RuntimeException(e.getMessage(), e);
          }
      }
docs: lazy init