Method Summary |
|
public void | enableSessionOnly() Enables connections to the target server. |
public String | getAddress() Returns the ip address or host name of the server. |
public ClusterMXBean | getCluster() The containing cluster. |
public int | getClusterIndex() The cluster index of the server. |
public long | getConnectTimeout() The timeout in milliseconds for connecting to the server. |
public int | getConnectionActiveCount() Returns the number of connections actively being used to communicate with
the target server. |
public long | getConnectionBusyCountTotal() Returns the number of connections which resulted in a busy
response. |
public long | getConnectionFailCountTotal() Returns the number of connections which could not connect
to the target server. |
public int | getConnectionIdleCount() Returns the number of open but currently unused connections to the
target server. |
public long | getConnectionKeepaliveCountTotal() Returns the number of connections that have been made to the target server. |
public long | getConnectionNewCountTotal() Returns the number of connections that have been made to the target server. |
public long | getIdleTime() Returns the timeout for an idle socket that is connected to the target
server. |
public Date | getLastBusyTime() Returns the last time of the busy response. |
public Date | getLastFailTime() Returns the time of the last failure. |
public double | getLatencyFactor() |
public int | getPort() Returns the resin/admin port number of the server. |
public long | getRecoverTime() Returns the timeout for assuming a target server remains unavailable once
a connection attempt fails. |
public double | getServerCpuLoadAvg() Returns the server's load average. |
public long | getSocketTimeout() Returns the timeout to use for reads when communicating with
the target server. |
public String | getState() Returns the lifecycle state. |
public long | getWarmupTime() Returns the warmup time in milliseconds. |
public int | getWeight() Returns the load-balancer weight, defaulting to 100. |
public boolean | ping() Returns true if a connection can be made to the target server. |
public void | start() Enables connections to the target server. |
public void | stop() Disables connections to the target server. |