This class will maintain information about an entity type load balancing which will map an entity type or object name to a particular back-end.. This class will determine whether it is an entity type map or an object name map based on whether or not the entity type resolves to something other than the default. The format of the csv file is.
<TITLE> <MATCH>,<BACKEND address>=""> ...
If a line is ,<BACKEND address>="">
This will be assumed to tbe the back-end to put any object on that does not match any of the matching rules
|
| | DtRuleBasedBalancerObject () |
| |
| | DtRuleBasedBalancerObject (const DtRuleBasedBalancerObject &) |
| |
| virtual | ~DtRuleBasedBalancerObject () |
| |
| DtRuleBasedBalancerObject & | operator= (const DtRuleBasedBalancerObject &orig) |
| |
| virtual bool | load (const DtFilename &) |
| |
| virtual bool | save () |
| |
| virtual bool | save (const DtFilename &) |
| |
| virtual void | setTitle (const std::string &) |
| |
| const std::string & | title () const |
| |
| virtual void | clear () |
| |
| virtual void | addMatch (const DtEntityType &, const DtSimulationAddress &) |
| |
| virtual void | addMatch (const std::string &, const DtSimulationAddress &) |
| |
| virtual bool | removeMatch (const DtEntityType &) |
| |
| virtual bool | removeMatch (const std::string &) |
| |
| virtual bool | removeMatch (int row) |
| |
| virtual void | editRow (int row, const DtEntityType &t, const DtSimulationAddress &addr) |
| |
| virtual void | editRow (int row, const std::string &t, const DtSimulationAddress &addr) |
| |
| virtual bool | match (const DtUUID &uuid, const DtVrfFileParser *parser, DtSimulationAddress &addr) const |
| |
| virtual bool | match (const DtRwVariableBindings &, DtSimulationAddress &addr) const |
| |
| virtual void | setFallbackAddress (const DtSimulationAddress &) |
| |
virtual std::set
< DtSimulationAddress > | simulationAddresses () const |
| |
| const DtFilename & | filename () const |
| |
| const DtSimulationAddress & | fallbackAddress () const |
| |
const std::vector< std::pair
< std::string,
DtSimulationAddress > > & | matchingRules () const |
| |