Adaptive load balancing policy.
More...
#include <IceGrid/IceGrid.h>
|
| static const ::std::string & | ice_staticId () |
| | Obtains the Slice type ID of this value.
|
|
| ::std::string | loadSample |
| | The load sample to use for the load balancing.
|
Adaptive load balancing policy.
◆ ~AdaptiveLoadBalancingPolicy()
| virtual IceGrid::AdaptiveLoadBalancingPolicy::~AdaptiveLoadBalancingPolicy |
( |
| ) |
|
|
virtual |
◆ AdaptiveLoadBalancingPolicy() [1/4]
| IceGrid::AdaptiveLoadBalancingPolicy::AdaptiveLoadBalancingPolicy |
( |
| ) |
|
|
default |
◆ AdaptiveLoadBalancingPolicy() [2/4]
| IceGrid::AdaptiveLoadBalancingPolicy::AdaptiveLoadBalancingPolicy |
( |
const AdaptiveLoadBalancingPolicy & | | ) |
|
|
default |
◆ AdaptiveLoadBalancingPolicy() [3/4]
| IceGrid::AdaptiveLoadBalancingPolicy::AdaptiveLoadBalancingPolicy |
( |
AdaptiveLoadBalancingPolicy && | | ) |
|
|
default |
◆ AdaptiveLoadBalancingPolicy() [4/4]
| IceGrid::AdaptiveLoadBalancingPolicy::AdaptiveLoadBalancingPolicy |
( |
const ::std::string & | nReplicas, |
|
|
const ::std::string & | loadSample ) |
|
inline |
One-shot constructor to initialize all data members.
- Parameters
-
| nReplicas | The number of replicas that will be used to gather the endpoints of a replica group. |
| loadSample | The load sample to use for the load balancing. |
◆ ice_staticId()
| const ::std::string & IceGrid::AdaptiveLoadBalancingPolicy::ice_staticId |
( |
| ) |
|
|
static |
Obtains the Slice type ID of this value.
- Returns
- The fully-scoped type ID.
◆ ice_tuple()
| std::tuple< const ::std::string &, const ::std::string & > IceGrid::AdaptiveLoadBalancingPolicy::ice_tuple |
( |
| ) |
const |
|
inline |
Obtains a tuple containing all of the value's data members.
- Returns
- The data members in a tuple.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ loadSample
| ::std::string IceGrid::AdaptiveLoadBalancingPolicy::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.
The documentation for this class was generated from the following file: