diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-11-23 14:44:51 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-11-23 14:44:51 +0000 |
commit | ad476fdda5c9a9f23b9e65fc3c4b3016f7704848 (patch) | |
tree | 329b46efefd33095fe3ed8dc92ef3d8726cd0857 /cpp/src/IceGrid/ServerCache.h | |
parent | Remove deprecated methods (diff) | |
download | ice-ad476fdda5c9a9f23b9e65fc3c4b3016f7704848.tar.bz2 ice-ad476fdda5c9a9f23b9e65fc3c4b3016f7704848.tar.xz ice-ad476fdda5c9a9f23b9e65fc3c4b3016f7704848.zip |
Code cleanup and fixed startup scalability issue of the registry (it no
longer contacts all the nodes).
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.h')
-rw-r--r-- | cpp/src/IceGrid/ServerCache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h index 4b39130d77b..d056e43c852 100644 --- a/cpp/src/IceGrid/ServerCache.h +++ b/cpp/src/IceGrid/ServerCache.h @@ -36,7 +36,9 @@ public: ServerEntry(ServerCache&, const std::string&); - void sync(); + void load(); + void unload(); + void update(const ServerInfo&); void destroy(); @@ -45,8 +47,6 @@ public: ServerPrx getProxy(int&, int&, std::string&, bool); AdapterPrx getAdapter(const std::string&, bool); - NodeEntryPtr getNode() const; - std::string getApplication() const; float getLoad(LoadSample) const; bool canRemove(); @@ -103,7 +103,7 @@ public: private: - void addCommunicator(const CommunicatorDescriptorPtr&, const ServerEntryPtr&); + void addCommunicator(const CommunicatorDescriptorPtr&, const ServerEntryPtr&, const std::string&); void removeCommunicator(const CommunicatorDescriptorPtr&, const ServerEntryPtr&); friend struct AddCommunicator; |