VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions
DtRuleBasedBalancer Class Reference

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)
 
DtRuleBasedBalanceroperator= (const DtRuleBasedBalancer &orig)
 

Constructor & Destructor Documentation

DtRuleBasedBalancer::DtRuleBasedBalancer ( )

constructor

virtual DtRuleBasedBalancer::~DtRuleBasedBalancer ( )
virtual

destructor

DtRuleBasedBalancer::DtRuleBasedBalancer ( const DtRuleBasedBalancer orig)
private

copy constructor; not implemented

Member Function Documentation

static bool DtRuleBasedBalancer::balance ( DtAddressMap map,
const DtVrfFileParser ,
const DtList *  backends,
bool remapped,
void *  usr,
const DtString  
)
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 bool DtRuleBasedBalancer::check ( const DtList *  backends,
void *  usr,
const DtString ,
DtString error 
)
static
static std::string DtRuleBasedBalancer::Type ( )
inlinestatic
DtRuleBasedBalancer& DtRuleBasedBalancer::operator= ( const DtRuleBasedBalancer orig)
private

assignment operator; not implemented


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)