- Timestamp:
- 01/03/23 19:06:42 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/dev/XIOS_FILE_SERVICES/src/manager/ressources_manager.hpp
r2260 r2453 45 45 int getRessourcesSize(void) ; 46 46 int getFreeRessourcesSize(void) ; 47 bool getPoolInfo(const string& poolId, int& size, int& leader) ;47 bool getPoolInfo(const string& poolId, int& size, int& freeSize, int& leader) ; 48 48 bool getPoolLeader(const string& poolId, int& leader) ; 49 49 bool getPoolSize(const string& poolId, int& size) ; 50 bool getPoolFreeSize(const string& poolId, int& freeSize) ; 50 51 bool hasPool(const string& poolId) ; 51 52 bool decreasePoolFreeSize(const string& poolId, int size) ; 53 void waitPoolRegistration(const string& poolId) ; 54 52 55 void registerServerLeader(int leaderRank) ; 53 56 void registerRessourcesSize(int size) ; 54 void registerPool(const std::string& poolId,int size,int leader) ; 57 void registerPoolClient(const std::string& poolId,int size,int leader) ; 58 void registerPoolServer(const std::string& poolId,int size,int leader) ; 55 59 56 60 int managerGlobalLeader_ ; … … 67 71 tuple<std::string, int> notifyCreatePool_ ; 68 72 69 std::map<std::string, std::tuple<int,int >> pools_ ;73 std::map<std::string, std::tuple<int,int,int>> pools_ ; 70 74 int serverLeader_ ; 71 75 int ressourcesSize_ ;
Note: See TracChangeset
for help on using the changeset viewer.