|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadBalancingParamsBean
The load-balancing parameters allow client to choose how they wish to distribute the work to the configured servers.
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 |
---|
boolean isLoadBalancingEnabled()
send()
or publish()
.send()
or
publish()
.
void setLoadBalancingEnabled(boolean loadBalancingEnabled) throws IllegalArgumentException
Sets the value of the LoadBalancingEnabled attribute.
loadBalancingEnabled
-
IllegalArgumentException
LoadBalancingParamsBean.isLoadBalancingEnabled()
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 setServerAffinityEnabled(boolean serverAffinityEnabled) throws IllegalArgumentException
Sets the value of the ServerAffinityEnabled attribute.
serverAffinityEnabled
-
IllegalArgumentException
LoadBalancingParamsBean.isServerAffinityEnabled()
|
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 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |