Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
IceGrid::RandomLoadBalancingPolicy Class Reference

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

#include <IceGrid/IceGrid.h>

Inheritance diagram for IceGrid::RandomLoadBalancingPolicy:

Public Member Functions

RandomLoadBalancingPolicyPtr ice_clone () const
 Creates a shallow polymorphic copy of this instance.
const char * ice_id () const noexcept override
 Gets the Slice type ID of the most-derived class supported by this object.
 LoadBalancingPolicy () noexcept=default
 Default constructor.
 LoadBalancingPolicy (const LoadBalancingPolicy &)=default
 Copy constructor.
 LoadBalancingPolicy (std::string nReplicas) noexcept
 One-shot constructor to initialize all data members.
Public Member Functions inherited from IceGrid::LoadBalancingPolicy
 LoadBalancingPolicy () noexcept=default
 Default constructor.
 LoadBalancingPolicy (std::string nReplicas) noexcept
 One-shot constructor to initialize all data members.
LoadBalancingPolicyPtr ice_clone () const
 Creates a shallow polymorphic copy of this instance.
void ice_printFields (std::ostream &os) const override
 Outputs the name and value of each field of this instance, including inherited fields, to the stream.
std::tuple< const std::string & > ice_tuple () const
 Creates a tuple with all the fields of this class.
Public Member Functions inherited from Ice::Value
 Value () noexcept=default
 Default constructor.
 Value (Value &&)=delete
ValuePtr ice_clone () const
 Creates a shallow polymorphic copy of this instance.
SlicedDataPtr ice_getSlicedData () const
 Gets the sliced data associated with this instance.
virtual void ice_postUnmarshal ()
 Validates or updates the fields of this object after unmarshaling.
virtual void ice_preMarshal ()
 Validates or updates the fields of this object before marshaling.
virtual void ice_print (std::ostream &os) const
 Outputs a description of this instance to the stream.
Valueoperator= (const Value &)=delete
Valueoperator= (Value &&)=delete

Static Public Member Functions

static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice class.
Static Public Member Functions inherited from IceGrid::LoadBalancingPolicy
static const char * ice_staticId () noexcept
 Gets the type ID of the associated Slice class.
Static Public Member Functions inherited from Ice::Value
static const char * ice_staticId () noexcept
 Gets the Slice type ID of this type.

Protected Member Functions

 RandomLoadBalancingPolicy (const RandomLoadBalancingPolicy &)=default
 Copy constructor.
Protected Member Functions inherited from IceGrid::LoadBalancingPolicy
 LoadBalancingPolicy (const LoadBalancingPolicy &)=default
 Copy constructor.

Additional Inherited Members

Public Attributes inherited from IceGrid::LoadBalancingPolicy
std::string nReplicas
 The number of replicas that will be used to gather the endpoints of a replica group.

Detailed Description

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

Definition at line 883 of file Descriptor.h.


The documentation for this class was generated from the following file: