Package com.caucho.network.balance

Examples of com.caucho.network.balance.ClientSocketFactory.canConnect()


  public boolean ping()
  {
    ClientSocketFactory pool = _server.getClusterSocketPool();

    if (pool != null)
      return pool.canConnect();
    else
      return true;
  }

  /**
 
View Full Code Here


  public boolean ping()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      return pool.canConnect();
    else
      return true;
  }

  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.