java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceGrid.LoadBalancingPolicy
com.zeroc.IceGrid.OrderedLoadBalancingPolicy
- All Implemented Interfaces:
Serializable
,Cloneable
The load balancing policy that returns endpoints in order.
- See Also:
-
Field Summary
Fields inherited from class com.zeroc.IceGrid.LoadBalancingPolicy
nReplicas
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aOrderedLoadBalancingPolicy
.OrderedLoadBalancingPolicy
(String nReplicas) Constructs aOrderedLoadBalancingPolicy
with values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Constructor Details
-
OrderedLoadBalancingPolicy
public OrderedLoadBalancingPolicy()Constructs aOrderedLoadBalancingPolicy
. -
OrderedLoadBalancingPolicy
Constructs aOrderedLoadBalancingPolicy
with values for all its fields.- Parameters:
nReplicas
- The number of replicas that will be used to gather the endpoints of a replica group.
-
-
Method Details
-
clone
Description copied from class:Value
Returns a copy of the object. The cloned object contains field-for-field copies of the state.- Overrides:
clone
in classLoadBalancingPolicy
- Returns:
- The cloned object.
-
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceGrid::OrderedLoadBalancingPolicy"
-
ice_id
Returns the Slice type ID of the most-derived interface supported by this object.- Overrides:
ice_id
in classLoadBalancingPolicy
- Returns:
- The return value is always
::Ice::Object
.
-