Package com.zeroc.IceGrid
Class AdaptiveLoadBalancingPolicy
java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceGrid.LoadBalancingPolicy
com.zeroc.IceGrid.AdaptiveLoadBalancingPolicy
- All Implemented Interfaces:
Serializable
,Cloneable
Adaptive load balancing policy.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe load sample to use for the load balancing.Fields inherited from class com.zeroc.IceGrid.LoadBalancingPolicy
nReplicas
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.zeroc.Ice.Value
ice_getSlicedData, ice_postUnmarshal, ice_preMarshal
-
Field Details
-
loadSample
The load sample to use for the load balancing. The allowed values for this attribute are "1", "5" and "15", representing respectively the load average over the past minute, the past 5 minutes and the past 15 minutes.
-
-
Constructor Details
-
AdaptiveLoadBalancingPolicy
public AdaptiveLoadBalancingPolicy() -
AdaptiveLoadBalancingPolicy
-
-
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
-
ice_id
Description copied from class:Value
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
.
-