Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.j2ee.descriptor.wl
Interface LoadBalancingParamsBean

All Superinterfaces:
SettableBean

public interface LoadBalancingParamsBean
extends SettableBean

The load-balancing parameters allow client to choose how they wish to distribute the work to the configured servers.

Access limited to the following security roles:
Deployer

Method Summary
 boolean isLoadBalancingEnabled()
          Specifies whether non-anonymous producers created through a connection factory are load balanced within a distributed destination on a per-call basis.
 boolean isServerAffinityEnabled()
          Specifies whether a server instance that is load balancing consumers or producers across multiple members destinations of a distributed destination, will first attempt to load balance across any other physical destinations that are also running on the same server instance.
 void setLoadBalancingEnabled(boolean loadBalancingEnabled)
          Sets the value of the LoadBalancingEnabled attribute.
 void setServerAffinityEnabled(boolean serverAffinityEnabled)
          Sets the value of the ServerAffinityEnabled attribute.
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

isLoadBalancingEnabled

boolean isLoadBalancingEnabled()
Specifies whether non-anonymous producers created through a connection factory are load balanced within a distributed destination on a per-call basis.

Returns:
The loadBalancingEnabled value
Changes take effect after you redeploy the module or restart the server.
Default Value:
true

setLoadBalancingEnabled

void setLoadBalancingEnabled(boolean loadBalancingEnabled)
                             throws IllegalArgumentException

Sets the value of the LoadBalancingEnabled attribute.

Parameters:
loadBalancingEnabled -
Throws:
IllegalArgumentException
See Also:
LoadBalancingParamsBean.isLoadBalancingEnabled()
Changes take effect after you redeploy the module or restart the server.

isServerAffinityEnabled

boolean isServerAffinityEnabled()

Specifies whether a server instance that is load balancing consumers or producers across multiple members destinations of a distributed destination, will first attempt to load balance across any other physical destinations that are also running on the same server instance.

Returns:
The serverAffinityEnabled value
Changes take effect after you redeploy the module or restart the server.
Default Value:
true

setServerAffinityEnabled

void setServerAffinityEnabled(boolean serverAffinityEnabled)
                              throws IllegalArgumentException

Sets the value of the ServerAffinityEnabled attribute.

Parameters:
serverAffinityEnabled -
Throws:
IllegalArgumentException
See Also:
LoadBalancingParamsBean.isServerAffinityEnabled()
Changes take effect after you redeploy the module or restart the server.

Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02