java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceGrid.LoadBalancingPolicy
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
AdaptiveLoadBalancingPolicy,OrderedLoadBalancingPolicy,RandomLoadBalancingPolicy,RoundRobinLoadBalancingPolicy
The base class for load balancing policies.
Remarks:
The Slice compiler generated this class from Slice class ::IceGrid::LoadBalancingPolicy.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aLoadBalancingPolicy.LoadBalancingPolicy(String nReplicas) Constructs aLoadBalancingPolicywith values for all its fields. -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
nReplicas
The number of replicas that will be used to gather the endpoints of a replica group.
-
-
Constructor Details
-
LoadBalancingPolicy
public LoadBalancingPolicy()Constructs aLoadBalancingPolicy. -
LoadBalancingPolicy
Constructs aLoadBalancingPolicywith 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:ValueReturns a shallow field-for-field copy of this object. -
ice_staticId
Gets the type ID of the associated Slice interface.- Returns:
- the string "::IceGrid::LoadBalancingPolicy"
-
ice_id
Returns the Slice type ID of the most-derived class supported by this object.
-