FileDocCategorySizeDatePackage
LBConfig.javaAPI DocGlassfish v2 API6248Fri May 04 22:30:34 BST 2007com.sun.appserv.management.config

LBConfig

public interface LBConfig implements com.sun.appserv.management.base.Container, ServerRefConfigCR, PropertiesAccess, AMXConfig, ClusterRefConfigCR, NamedConfigElement
Configuration for the lb-config element.
see
com.sun.appserv.management.ext.lb.LoadBalancer

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public java.util.MapgetClusterRefConfigMap()
Calls Container.getContaineeMap(XTypes.CLUSTER_REF_CONFIG ).

return
Map of ClusterRefConfig MBean proxies, keyed by name.
see
com.sun.appserv.management.base.Container#getContaineeMap

public booleangetHttpsRouting()
Returns a boolean flag indicating how load-balancer will route HTTPS requests. If true, then an HTTPS request to the load-balancer will result in an HTTPS request to the server; if false, then HTTPS requests to the load-balancer result in HTTP requests to the server.

public booleangetMonitoringEnabled()
Returns the boolean flag that determines whether monitoring is switched on or not. Default is that monitoring is switched off (false)

public java.lang.StringgetReloadPollIntervalInSeconds()
Returns the maximum period, in seconds, that a change to the load balancer configuration file takes before it is detected by the load balancer and the file reloaded. A value of 0 indicates that reloading is disabled.

public java.lang.StringgetResponseTimeoutInSeconds()
Returns the period, in seconds, within which a server must return a response or otherwise it will be considered unhealthy. Must be greater than or equal to 0.

public booleangetRouteCookieEnabled()
Returns the boolean flag that determines whether a route cookie is or is not enabled.

public java.util.MapgetServerRefConfigMap()
Calls Container.getContaineeMap(XTypes.SERVER_REF_CONFIG ).

return
Map of ServerRefConfig MBean proxies, keyed by name.
see
com.sun.appserv.management.base.Container#getContaineeMap

public voidsetHttpsRouting(boolean value)
Set the boolean flag indicating how load-balancer will route HTTPS requests. If true, then an HTTPS request to the load-balancer will result in an HTTPS request to the server; if false, then HTTPS requests to the load-balancer result in HTTP requests to the server. Default is to use HTTP (i.e. value of false);

public voidsetMonitoringEnabled(boolean value)
Set the boolean flag that determines whether monitoring is switched on or not. Default is that monitoring is switched off (false)

public voidsetReloadPollIntervalInSeconds(java.lang.String reloadPollIntervalInSeconds)
Set the maximum period, in seconds, that a change to the load balancer configuration file takes before it is detected by the load balancer and the file reloaded. A value of 0 indicates that reloading is disabled. Default period is 1 minute (60 seconds)

public voidsetResponseTimeoutInSeconds(java.lang.String responseTimeoutInSeconds)
Set the period, in seconds, within which a server must return a response or otherwise it will be considered unhealthy. Default value is 60 seconds. Must be greater than or equal to 0. A value of 0 effectively turns off this check functionality, meaning the server will always be considered healthy.

public voidsetRouteCookieEnabled(boolean value)
Set the boolean flag that determines whether a route cookie is or is not enabled. Default is enabled (true).