![]() |
VR-Forces Developer's Guide
|
Balances objects based on entity type per back-end. The EntityTypeBalance structure must be filled out and passed in as the usr pointer to this balance method.
Public Member Functions | |
| DtRuleBasedBalancer () | |
| virtual | ~DtRuleBasedBalancer () |
Static Public Member Functions | |
| static bool | balance (DtAddressMap *map, const DtVrfFileParser *, const DtList *backends, bool &remapped, void *usr, const DtString &) |
| static bool | check (const DtList *backends, void *usr, const DtString &, DtString &error) |
| static std::string | Type () |
Private Member Functions | |
| DtRuleBasedBalancer (const DtRuleBasedBalancer &orig) | |
| DtRuleBasedBalancer & | operator= (const DtRuleBasedBalancer &orig) |
| DtRuleBasedBalancer::DtRuleBasedBalancer | ( | ) |
constructor
|
virtual |
destructor
|
private |
copy constructor; not implemented
|
static |
This is the DtLoadBalancingFcn used by DtVrfRemoteController. The AddressMap is will be used to populate and eventually assign new back-ends to for the entities.
|
static |
|
inlinestatic |
|
private |
assignment operator; not implemented