Class LoadBalancingPolicy

java.lang.Object
com.zeroc.Ice.Value
com.zeroc.IceGrid.LoadBalancingPolicy
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
AdaptiveLoadBalancingPolicy, OrderedLoadBalancingPolicy, RandomLoadBalancingPolicy, RoundRobinLoadBalancingPolicy

public class LoadBalancingPolicy extends Value
A base class for load balancing policies.
See Also:
  • Field Details

    • nReplicas

      public String nReplicas
      The number of replicas that will be used to gather the endpoints of a replica group.
  • Constructor Details

    • LoadBalancingPolicy

      public LoadBalancingPolicy()
    • LoadBalancingPolicy

      public LoadBalancingPolicy(String nReplicas)
  • Method Details

    • clone

      public LoadBalancingPolicy 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 class Value
      Returns:
      The cloned object.
    • ice_staticId

      public static String ice_staticId()
    • ice_id

      public String 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 class Value
      Returns:
      The return value is always ::Ice::Object.