VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ruleBasedBalancer.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include <string>
10 
11 class DtString;
12 class DtAddressMap;
13 class DtVrfFileParser;
14 class DtList;
15 
19 {
20 public:
23 
25  virtual ~DtRuleBasedBalancer();
26 
30  static bool balance(DtAddressMap* map, const DtVrfFileParser*, const DtList* backends, bool& remapped, void* usr, const DtString&);
31 
32  static bool check(const DtList* backends, void* usr, const DtString&, DtString& error);
33 
34  static std::string Type() { return "DtRuleBasedBalancer"; };
35 
36 private:
37 
40 
42  DtRuleBasedBalancer& operator=(const DtRuleBasedBalancer& orig);
43 };
Definition: addressMap.h:24
Balances objects based on entity type per back-end. The EntityTypeBalance structure must be filled ou...
Definition: ruleBasedBalancer.h:18
Definition: asyncJobServer.h:39
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
Definition: vrfFileParser.h:30
static std::string Type()
Definition: ruleBasedBalancer.h:34

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)