@zeroc/ice
    Preparing search index...

    Class RandomLoadBalancingPolicy

    The load balancing policy that returns endpoints in a random order.

    The Slice compiler generated this class from Slice class ::IceGrid::RandomLoadBalancingPolicy.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    nReplicas: string

    The number of replicas that will be used to gather the endpoints of a replica group.

    Methods

    • Obtains the sliced data associated with this instance.

      Returns SlicedData

      The sliced data if the value has a preserved-slice base class and has been sliced during unmarshaling of the value, nil otherwise.

    • Obtains the Slice type ID of the most-derived class supported by this object.

      Returns string

      The type ID.

    • The Ice run time invokes this method after unmarshaling an object's data members. This allows a subclass to override this method in order to perform additional initialization.

      Returns void

    • The Ice run time invokes this method prior to marshaling an object's data members. This allows a subclass to override this method in order to validate its data members.

      Returns void

    • Obtains the Slice type ID of this type.

      Returns string

      The return value is always "::Ice::Object".