Examples of ClientSocketFactory


Examples of com.caucho.network.balance.ClientSocketFactory

      return null;
  }

  public Date getLastSuccessTime()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      return new Date(pool.getLastSuccessTime());
    else
      return null;
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  public double getLatencyFactor()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      return pool.getLatencyFactor();
    else
      return 0;
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  public long getConnectionBusyCountTotal()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      return pool.getBusyCountTotal();
    else
      return 0;
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  public Date getLastBusyTime()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      return pool.getLastBusyTime();
    else
      return null;
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  public long getConnectionKeepaliveCountTotal()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      return pool.getKeepaliveCountTotal();
    else
      return 0;
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  public double getServerCpuLoadAvg()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      return pool.getCpuLoadAvg();
    else
      return 0;
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  public void start()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      pool.start();
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  public void stop()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      pool.stop();
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  public void enableSessionOnly()
  {
    ClientSocketFactory pool = _server.getServerPool();

    if (pool != null)
      pool.enableSessionOnly();
  }
View Full Code Here

Examples of com.caucho.network.balance.ClientSocketFactory

  }

  @Override
  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.