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