Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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.


Method Summary
abstract  boolean isLoadBalancingEnabled()
          Specifies whether non-anonymous producers created through a connection factory are load balanced within a distributed destination on a per-call basis.
abstract  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.
abstract  void setLoadBalancingEnabled(boolean loadBalancingEnabled)
          Sets the the value of the LoadBalancingEnabled attribute.
abstract  void setServerAffinityEnabled(boolean serverAffinityEnabled)
          Sets the value of the ServerAffinityEnabled attribute.

 

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

setLoadBalancingEnabled

void setLoadBalancingEnabled(boolean loadBalancingEnabled)
                             throws IllegalArgumentException

Sets the the value of the LoadBalancingEnabled attribute.

Parameters:
loadBalancingEnabled -
Throws:
IllegalArgumentException
See Also:
LoadBalancingParamsBean.isLoadBalancingEnabled()

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

setServerAffinityEnabled

void setServerAffinityEnabled(boolean serverAffinityEnabled)
                              throws IllegalArgumentException

Sets the value of the ServerAffinityEnabled attribute.

Parameters:
serverAffinityEnabled -
Throws:
IllegalArgumentException
See Also:
LoadBalancingParamsBean.isServerAffinityEnabled()

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09