/**
  * Add information of another host. Used for failover.
  *
  * @param hostInfo Host information.
  */
 public void addHostInfo(HostInfo hostInfo) {
   hosts.add(hostInfo);
 }
 protected HostInfo getHostInfo() {
   return hosts.get();
 }