diff options
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.h')
-rw-r--r-- | cpp/src/IceGrid/ServerCache.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h index 892e89d140a..1e934430c30 100644 --- a/cpp/src/IceGrid/ServerCache.h +++ b/cpp/src/IceGrid/ServerCache.h @@ -36,8 +36,10 @@ public: ServerEntry(ServerCache&, const std::string&); - void load(); - void unload(); + void sync(); + void syncAndWait(); + void waitNoThrow(); + void unsync(); void update(const ServerInfo&); void destroy(); @@ -64,8 +66,9 @@ public: private: - void syncImpl(bool); - + void syncImpl(); + void waitImpl(); + ServerCache& _cache; const std::string _id; std::auto_ptr<ServerInfo> _loaded; |