FileDocCategorySizeDatePackage
ClusterRefConfig.javaAPI DocGlassfish v2 API4285Fri May 04 22:30:32 BST 2007com.sun.appserv.management.config

ClusterRefConfig

public interface ClusterRefConfig implements com.sun.appserv.management.base.Container, HealthCheckerConfigCR, RefConfig
represents the <server-ref> element.

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.lang.StringgetLBPolicy()
EE only Load balancing policy to be used for this cluster. Possible values are round-robin , weighted-round-robin or user-defined. round-robin is the default. For weighted-round-robin, the weights of the instance are considered while load balancing. For user-defined, the policy is implemented by a shared library which is loaded by the load balancer and the instance selected is delegated to the loaded module. Return load balancing policy to be used for this cluster. Possible values are: See {@link LbPolicyTypeValues}.

public java.lang.StringgetLBPolicyModule()
EE only Returns the absolute path to the shared library implementing the {@link LbPolicyTypeValues#USER_DEFINED} policy.

public java.lang.StringgetReferencedClusterName()

since
Appserver 9.0

public voidsetLBPolicy(java.lang.String value)
EE only Set the load balancing policy to be used for this cluster. See {@link com.sun.appserv.management.config.LbPolicyTypeValues}.

public voidsetLBPolicyModule(java.lang.String lbPolicyModule)
EE only Sets the absolute path to the shared library implementing the {@link LbPolicyTypeValues#USER_DEFINED} policy.

public voidsetReferencedClusterName(java.lang.String clusterName)

since
Appserver 9.0