Ignore:
Timestamp:
01/03/23 19:06:42 (18 months ago)
Author:
ymipsl
Message:

Implementation of files service on dev branch

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/dev/XIOS_FILE_SERVICES/src/manager/ressources_manager.hpp

    r2260 r2453  
    4545    int  getRessourcesSize(void) ; 
    4646    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) ; 
    4848    bool getPoolLeader(const string& poolId, int& leader) ; 
    4949    bool getPoolSize(const string& poolId, int& size) ; 
     50    bool getPoolFreeSize(const string& poolId, int& freeSize) ; 
    5051    bool hasPool(const string& poolId) ; 
    51  
     52    bool decreasePoolFreeSize(const string& poolId, int size) ; 
     53    void waitPoolRegistration(const string& poolId) ; 
     54     
    5255    void registerServerLeader(int leaderRank) ; 
    5356    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) ; 
    5559 
    5660    int managerGlobalLeader_ ; 
     
    6771    tuple<std::string, int> notifyCreatePool_ ; 
    6872 
    69     std::map<std::string, std::tuple<int,int>> pools_ ; 
     73    std::map<std::string, std::tuple<int,int,int>> pools_ ; 
    7074    int serverLeader_ ; 
    7175    int ressourcesSize_ ; 
Note: See TracChangeset for help on using the changeset viewer.